summaryrefslogtreecommitdiff
path: root/src/web/app/boot.js
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-11-21 03:40:09 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-11-21 03:40:09 +0900
commit1436617aab030fa5b3760a3eeae37a1cdeeba2df (patch)
tree5ac701a811de8be79e8e83643752818ee4b2cd1d /src/web/app/boot.js
parentv3165 (diff)
downloadmisskey-1436617aab030fa5b3760a3eeae37a1cdeeba2df.tar.gz
misskey-1436617aab030fa5b3760a3eeae37a1cdeeba2df.tar.bz2
misskey-1436617aab030fa5b3760a3eeae37a1cdeeba2df.zip
wip
Diffstat (limited to '')
-rw-r--r--src/web/app/boot.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/web/app/boot.js b/src/web/app/boot.js
index ac6c18d649..4a8ea030a1 100644
--- a/src/web/app/boot.js
+++ b/src/web/app/boot.js
@@ -27,7 +27,9 @@
// misskey.alice => misskey
// misskey.strawberry.pasta => misskey
// dev.misskey.arisu.tachibana => dev
- let app = url.host.split('.')[0];
+ let app = url.host == 'localhost'
+ ? 'misskey'
+ : url.host.split('.')[0];
// Detect the user language
// Note: The default language is English