From 4e791df615975c8f6f24c709ae6ae9dbb683c954 Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Thu, 22 Aug 2024 13:37:47 +0900 Subject: [PATCH] Update router.ts --- packages/frontend/src/embed/router.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/frontend/src/embed/router.ts b/packages/frontend/src/embed/router.ts index 6e98e1d620..c2715cc50e 100644 --- a/packages/frontend/src/embed/router.ts +++ b/packages/frontend/src/embed/router.ts @@ -6,7 +6,6 @@ import type { IRouter, RouteDef } from '@/nirax.js'; import { Router } from '@/nirax.js'; import { page } from '@/router/definition.js'; -import { $i } from '@/account.js'; const routes: RouteDef[] = [{ path: '/embed/notes/:noteId', @@ -26,5 +25,5 @@ const routes: RouteDef[] = [{ }]; export function createEmbedRouter(path: string): IRouter { - return new Router(routes, path, !!$i, page(() => import('@/pages/not-found.vue'))); + return new Router(routes, path, false, page(() => import('@/pages/not-found.vue'))); }