From 8d6356c5657fb3b70255e68b2698b7356a4d1150 Mon Sep 17 00:00:00 2001 From: rinsuki <428rinsuki+git@gmail.com> Date: Mon, 26 Mar 2018 14:27:42 +0900 Subject: [PATCH] =?UTF-8?q?document.domain=E3=82=92=E3=83=81=E3=82=A7?= =?UTF-8?q?=E3=83=83=E3=82=AF=E3=81=99=E3=82=8B=E9=9A=9B=E3=81=AB=E3=80=81?= =?UTF-8?q?host=E3=81=AE=E3=81=8B=E3=82=8F=E3=82=8A=E3=81=ABhostname?= =?UTF-8?q?=E3=82=92=E4=BD=BF=E3=81=86=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/web/app/init.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/web/app/init.ts b/src/web/app/init.ts index 28adfd3b0..6cc7ae6ce 100644 --- a/src/web/app/init.ts +++ b/src/web/app/init.ts @@ -14,7 +14,7 @@ import ElementLocaleJa from 'element-ui/lib/locale/lang/ja'; import App from './app.vue'; import checkForUpdate from './common/scripts/check-for-update'; import MiOS, { API } from './common/mios'; -import { version, host, lang } from './config'; +import { version, hostname, lang } from './config'; let elementLocale; switch (lang) { @@ -60,8 +60,8 @@ console.info( window.clearTimeout((window as any).mkBootTimer); delete (window as any).mkBootTimer; -if (host != 'localhost') { - document.domain = host; +if (hostname != 'localhost') { + document.domain = hostname; } //#region Set lang attr