mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-25 07:05:20 +00: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 || '';
|
||
|
}
|
||
|
});
|