mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
11 lines
201 B
JavaScript
11 lines
201 B
JavaScript
|
import ready from './ready';
|
||
|
|
||
|
export let assetHost = '';
|
||
|
|
||
|
ready(() => {
|
||
|
const cdnHost = document.querySelector('meta[name=cdn-host]');
|
||
|
if (cdnHost) {
|
||
|
assetHost = cdnHost.content || '';
|
||
|
}
|
||
|
});
|