summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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