mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-11-15 20:06:54 +01:00
acdcd7c623
* enhance(frontend): improve signup complete ui * relocation * tweak * Update _boot_.ts --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
14 lines
425 B
TypeScript
14 lines
425 B
TypeScript
// https://vitejs.dev/config/build-options.html#build-modulepreload
|
|
import 'vite/modulepreload-polyfill';
|
|
|
|
import '@/style.scss';
|
|
import { mainBoot } from './boot/main-boot';
|
|
import { subBoot } from './boot/sub-boot';
|
|
|
|
const subBootPaths = ['/share', '/auth', '/miauth', '/signup-complete'];
|
|
|
|
if (subBootPaths.some(i => location.pathname === i || location.pathname.startsWith(i + '/'))) {
|
|
subBoot();
|
|
} else {
|
|
mainBoot();
|
|
}
|