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