1
0
forked from mirror/misskey
This commit is contained in:
syuilo 2017-11-21 03:41:02 +09:00
parent ff1a20d74a
commit 75fea13626

View File

@ -18,6 +18,8 @@ require('./common/tags');
console.info(`Misskey v${VERSION} (葵 aoi)`); console.info(`Misskey v${VERSION} (葵 aoi)`);
document.domain = CONFIG.host;
{ // Set lang attr { // Set lang attr
const html = document.documentElement; const html = document.documentElement;
html.setAttribute('lang', LANG); html.setAttribute('lang', LANG);
@ -31,8 +33,6 @@ console.info(`Misskey v${VERSION} (葵 aoi)`);
head.appendChild(meta); head.appendChild(meta);
} }
document.domain = CONFIG.host;
// Set global configuration // Set global configuration
(riot as any).mixin({ CONFIG }); (riot as any).mixin({ CONFIG });