Files
imphnen-frontend-service/apps/gacha/src/middleware.ts
T
2025-03-13 02:03:13 +07:00

12 lines
246 B
TypeScript

import { LoaderFunctionArgs } from 'react-router-dom';
export const middleware = async ({ request }: LoaderFunctionArgs) => {
const url = new URL(request.url);
const pathname = url.pathname;
if (pathname) return null;
return null;
};