diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-11-21 03:40:09 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-11-21 03:40:09 +0900 |
| commit | 1436617aab030fa5b3760a3eeae37a1cdeeba2df (patch) | |
| tree | 5ac701a811de8be79e8e83643752818ee4b2cd1d /src/web/app/boot.js | |
| parent | v3165 (diff) | |
| download | misskey-1436617aab030fa5b3760a3eeae37a1cdeeba2df.tar.gz misskey-1436617aab030fa5b3760a3eeae37a1cdeeba2df.tar.bz2 misskey-1436617aab030fa5b3760a3eeae37a1cdeeba2df.zip | |
wip
Diffstat (limited to '')
| -rw-r--r-- | src/web/app/boot.js | 4 |
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 |