From 75fea13626b7128f7b3e0df15b048bd8e678bfcf Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 21 Nov 2017 03:41:02 +0900 Subject: [PATCH] refactor --- src/web/app/init.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/web/app/init.ts b/src/web/app/init.ts index 4deeab704..0bb687ec6 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 });