2023-05-15 10:08:46 +00:00
|
|
|
// 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';
|
|
|
|
|
2023-05-26 04:34:34 +00:00
|
|
|
const subBootPaths = ['/auth', '/miauth', '/signup-complete'];
|
2023-05-24 00:43:38 +00:00
|
|
|
|
|
|
|
if (subBootPaths.some(i => location.pathname === i || location.pathname.startsWith(i + '/'))) {
|
2023-05-15 10:08:46 +00:00
|
|
|
subBoot();
|
|
|
|
} else {
|
|
|
|
mainBoot();
|
|
|
|
}
|