diff --git a/public/index.html b/public/index.html index dc36849..5871172 100644 --- a/public/index.html +++ b/public/index.html @@ -30,7 +30,7 @@ iframe.id = 'main_frame' if (storage.local.get('lastVersion') === null) { - iframe.src = '/welcome.html'; + iframe.src = '/welcome/'; } else if (lastPage !== null) { iframe.src = lastPage; } else if (isMobile) { diff --git a/public/settings/index.html b/public/settings/index.html index 339bd2b..da9e946 100644 --- a/public/settings/index.html +++ b/public/settings/index.html @@ -71,7 +71,7 @@
- +
diff --git a/public/welcome.html b/public/welcome/index.html similarity index 97% rename from public/welcome.html rename to public/welcome/index.html index b427dcc..0f3789a 100644 --- a/public/welcome.html +++ b/public/welcome/index.html @@ -39,7 +39,7 @@ - + diff --git a/src/resources/scripts/settings.ts b/src/resources/scripts/settings.ts index aa7c8e8..7e0a45d 100644 --- a/src/resources/scripts/settings.ts +++ b/src/resources/scripts/settings.ts @@ -38,7 +38,7 @@ if (window.location.pathname === '/settings/') { }); } -if (window.location.pathname === '/welcome.html') { +if (window.location.pathname === '/welcome/') { document.addEventListener('DOMContentLoaded', () => { const setupForm = document.getElementById('setup-form') as HTMLFormElement; const usernameInput = document.getElementById('username-input') as HTMLInputElement;