From bb6af73dcc914ed91e4449556a364e5aaebd3159 Mon Sep 17 00:00:00 2001 From: Orion Reed Date: Sat, 12 Aug 2023 21:11:27 +0100 Subject: [PATCH] try subrouter --- src/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index f277f1d..80d6d1c 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -10,7 +10,7 @@ import { MantineProvider } from '@mantine/styles' import { Box } from '@mantine/core' import { theme } from '@/theme' -const MY_FOLDER = '/orionreed.github.io' +const MY_FOLDER = '/orionreed' class SubfolderRouter extends Router { render(props: RouterProps, state: any) { if (state.url.indexOf(MY_FOLDER) === 0) { @@ -27,13 +27,13 @@ export function App() { return ( - + - + )