mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-30 16:49:04 +01:00
11 lines
202 B
JavaScript
11 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 || '';
|
||
|
}
|
||
|
});
|