summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-06-07 02:01:06 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-06-07 02:01:06 +0900
commit4539655c5dfd5c85352f57c7e2b515e008c356bc (patch)
tree28f260e596056674daf5e91ecd3c764c40e4829a
parent#359 (diff)
downloadsharkey-4539655c5dfd5c85352f57c7e2b515e008c356bc.tar.gz
sharkey-4539655c5dfd5c85352f57c7e2b515e008c356bc.tar.bz2
sharkey-4539655c5dfd5c85352f57c7e2b515e008c356bc.zip
Refactor
-rw-r--r--src/web/app/boot.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/app/boot.js b/src/web/app/boot.js
index 1049f520a7..2671d372fd 100644
--- a/src/web/app/boot.js
+++ b/src/web/app/boot.js
@@ -12,7 +12,7 @@
'use strict';
// Get the current url information
-const Url = new URL(location.href);
+const url = new URL(location.href);
// Extarct the (sub) domain part of the current url
//
@@ -20,7 +20,7 @@ const Url = new URL(location.href);
// misskey.alice => misskey
// misskey.strawberry.pasta => misskey
// dev.misskey.alice.tachibana => dev
-let app = Url.host.split('.')[0];
+let app = url.host.split('.')[0];
// Detect the user language
// Note: The default language is English