mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-30 21:13:47 +01:00
10 lines
202 B
JavaScript
10 lines
202 B
JavaScript
import ready from '../ready';
|
|
|
|
export let assetHost = '';
|
|
|
|
ready(() => {
|
|
const cdnHost = document.querySelector('meta[name=cdn-host]');
|
|
if (cdnHost) {
|
|
assetHost = cdnHost.content || '';
|
|
}
|
|
});
|