summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-11-21 03:41:02 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-11-21 03:41:02 +0900
commit75fea13626b7128f7b3e0df15b048bd8e678bfcf (patch)
tree67ffe8270baad6fc5312ab42a7204d34e80b3fa2 /src
parentv3165 (diff)
downloadsharkey-75fea13626b7128f7b3e0df15b048bd8e678bfcf.tar.gz
sharkey-75fea13626b7128f7b3e0df15b048bd8e678bfcf.tar.bz2
sharkey-75fea13626b7128f7b3e0df15b048bd8e678bfcf.zip
refactor
Diffstat (limited to 'src')
-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 });