diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-05 15:50:52 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-05 15:50:52 +0900 |
| commit | fc15249aa43471e73eb9dda46e1807084f4d2cd3 (patch) | |
| tree | 31f9f5e43581399d20c1e5d3600eb94fd56c013b /src/client/app/init.ts | |
| parent | wip (diff) | |
| download | sharkey-fc15249aa43471e73eb9dda46e1807084f4d2cd3.tar.gz sharkey-fc15249aa43471e73eb9dda46e1807084f4d2cd3.tar.bz2 sharkey-fc15249aa43471e73eb9dda46e1807084f4d2cd3.zip | |
wip
Diffstat (limited to 'src/client/app/init.ts')
| -rw-r--r-- | src/client/app/init.ts | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/client/app/init.ts b/src/client/app/init.ts index 3e5c38961f..2fb8f15cf3 100644 --- a/src/client/app/init.ts +++ b/src/client/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, codename, hostname, lang } from './config'; +import { version, codename, lang } from './config'; let elementLocale; switch (lang) { @@ -60,10 +60,6 @@ console.info( window.clearTimeout((window as any).mkBootTimer); delete (window as any).mkBootTimer; -if (hostname != 'localhost') { - document.domain = hostname; -} - //#region Set lang attr const html = document.documentElement; html.setAttribute('lang', lang); |