From 7468748c141943fa000edea4098d54bf3cdff55e Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 28 Jul 2024 02:11:30 +0900 Subject: frontend: openapi --- frontend/app/routes/dashboard.tsx | 2 +- frontend/app/routes/login.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'frontend/app/routes') diff --git a/frontend/app/routes/dashboard.tsx b/frontend/app/routes/dashboard.tsx index be274eb..535642c 100644 --- a/frontend/app/routes/dashboard.tsx +++ b/frontend/app/routes/dashboard.tsx @@ -1,5 +1,5 @@ import type { LoaderFunctionArgs } from "@remix-run/node"; -import { isAuthenticated } from "../services/auth.server"; +import { isAuthenticated } from "../.server/auth"; import { useLoaderData } from "@remix-run/react"; export async function loader({ request }: LoaderFunctionArgs) { diff --git a/frontend/app/routes/login.tsx b/frontend/app/routes/login.tsx index cf5be14..0da2616 100644 --- a/frontend/app/routes/login.tsx +++ b/frontend/app/routes/login.tsx @@ -1,6 +1,6 @@ import type { ActionFunctionArgs, LoaderFunctionArgs } from "@remix-run/node"; import { Form } from "@remix-run/react"; -import { authenticator } from "../services/auth.server"; +import { authenticator } from "../.server/auth"; export async function loader({ request }: LoaderFunctionArgs) { return await authenticator.isAuthenticated(request, { -- cgit v1.2.3-70-g09d2