summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-11-21 07:16:13 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-11-21 07:16:13 +0900
commit93140daf796c046747643ce6028d81863d5ffd85 (patch)
tree1df36d87253bb0f99021c43cbd87aede2ac81545 /src
parent:v: (diff)
downloadsharkey-93140daf796c046747643ce6028d81863d5ffd85.tar.gz
sharkey-93140daf796c046747643ce6028d81863d5ffd85.tar.bz2
sharkey-93140daf796c046747643ce6028d81863d5ffd85.zip
Fix bug
Diffstat (limited to 'src')
-rw-r--r--src/web/app/init.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/web/app/init.ts b/src/web/app/init.ts
index 0bb687ec6a..652cbfde40 100644
--- a/src/web/app/init.ts
+++ b/src/web/app/init.ts
@@ -18,7 +18,9 @@ require('./common/tags');
console.info(`Misskey v${VERSION} (葵 aoi)`);
-document.domain = CONFIG.host;
+if (CONFIG.host != 'localhost') {
+ document.domain = CONFIG.host;
+}
{ // Set lang attr
const html = document.documentElement;