mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-24 00:39:32 +09:00
076cc953e2
* enhance(frontend): 外部アプリ認証画面の改良 * 🎨 * lint * Update Changelog * indent * lint * enhance: miauthのリダイレクト先をUI内でも表示するように * 🎨 * fix * fix
22 lines
601 B
TypeScript
22 lines
601 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', '/oauth', '/signup-complete'];
|
|
|
|
if (subBootPaths.some(i => location.pathname === i || location.pathname.startsWith(i + '/'))) {
|
|
subBoot();
|
|
} else {
|
|
mainBoot();
|
|
}
|