From 93140daf796c046747643ce6028d81863d5ffd85 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 21 Nov 2017 07:16:13 +0900 Subject: [PATCH] Fix bug --- src/web/app/init.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/web/app/init.ts b/src/web/app/init.ts index 0bb687ec6..652cbfde4 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;