97eadf8dee
Port ce87767572
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
10 lines
201 B
JavaScript
10 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 || '';
|
|
}
|
|
});
|