mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 07:25:12 +00:00
a5e61b8c19
This reverts commit 0134e6e420
.
21 lines
591 B
TypeScript
21 lines
591 B
TypeScript
/*
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
// https://vitejs.dev/config/build-options.html#build-modulepreload
|
|
import 'vite/modulepreload-polyfill';
|
|
|
|
import '@tabler/icons-webfont/dist/tabler-icons.scss';
|
|
|
|
import '@/style.scss';
|
|
import { mainBoot } from '@/boot/main-boot.js';
|
|
import { subBoot } from '@/boot/sub-boot.js';
|
|
|
|
const subBootPaths = ['/share', '/auth', '/miauth', '/signup-complete'];
|
|
|
|
if (subBootPaths.some(i => location.pathname === i || location.pathname.startsWith(i + '/'))) {
|
|
subBoot();
|
|
} else {
|
|
mainBoot();
|
|
}
|