diff options
| author | Caipira <caipira@libnare.net> | 2023-05-24 09:43:38 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-24 09:43:38 +0900 |
| commit | acdcd7c623fccf6a3e02caebafac1c53cd180c20 (patch) | |
| tree | 2cdbda880b0e1023d90541d8dc9eb4fbe0af2016 /packages/frontend/src/_boot_.ts | |
| parent | Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop (diff) | |
| download | sharkey-acdcd7c623fccf6a3e02caebafac1c53cd180c20.tar.gz sharkey-acdcd7c623fccf6a3e02caebafac1c53cd180c20.tar.bz2 sharkey-acdcd7c623fccf6a3e02caebafac1c53cd180c20.zip | |
enhance(frontend): improve signup complete ui (#10876)
* enhance(frontend): improve signup complete ui
* relocation
* tweak
* Update _boot_.ts
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Diffstat (limited to 'packages/frontend/src/_boot_.ts')
| -rw-r--r-- | packages/frontend/src/_boot_.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/frontend/src/_boot_.ts b/packages/frontend/src/_boot_.ts index a8efafca61..921c161765 100644 --- a/packages/frontend/src/_boot_.ts +++ b/packages/frontend/src/_boot_.ts @@ -5,7 +5,9 @@ import '@/style.scss'; import { mainBoot } from './boot/main-boot'; import { subBoot } from './boot/sub-boot'; -if (['/share', '/auth', '/miauth'].includes(location.pathname)) { +const subBootPaths = ['/share', '/auth', '/miauth', '/signup-complete']; + +if (subBootPaths.some(i => location.pathname === i || location.pathname.startsWith(i + '/'))) { subBoot(); } else { mainBoot(); |