summaryrefslogtreecommitdiff
path: root/src/web/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/app')
-rw-r--r--src/web/app/init.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/app/init.ts b/src/web/app/init.ts
index 4deeab704f..0bb687ec6a 100644
--- a/src/web/app/init.ts
+++ b/src/web/app/init.ts
@@ -18,6 +18,8 @@ require('./common/tags');
console.info(`Misskey v${VERSION} (葵 aoi)`);
+document.domain = CONFIG.host;
+
{ // Set lang attr
const html = document.documentElement;
html.setAttribute('lang', LANG);
@@ -31,8 +33,6 @@ console.info(`Misskey v${VERSION} (葵 aoi)`);
head.appendChild(meta);
}
-document.domain = CONFIG.host;
-
// Set global configuration
(riot as any).mixin({ CONFIG });