Skip to content
Snippets Groups Projects
Commit 8d6356c5 authored by rinsuki's avatar rinsuki
Browse files

document.domainをチェックする際に、hostのかわりにhostnameを使うように

parent ca78cbc7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment