diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-11-21 07:16:13 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-11-21 07:16:13 +0900 |
| commit | 93140daf796c046747643ce6028d81863d5ffd85 (patch) | |
| tree | 1df36d87253bb0f99021c43cbd87aede2ac81545 /src | |
| parent | :v: (diff) | |
| download | sharkey-93140daf796c046747643ce6028d81863d5ffd85.tar.gz sharkey-93140daf796c046747643ce6028d81863d5ffd85.tar.bz2 sharkey-93140daf796c046747643ce6028d81863d5ffd85.zip | |
Fix bug
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/app/init.ts | 4 |
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; |