try alt root name
This commit is contained in:
parent
ee3b996a43
commit
a31cd6746b
|
|
@ -10,7 +10,7 @@ import { MantineProvider } from '@mantine/styles'
|
||||||
import { Box } from '@mantine/core'
|
import { Box } from '@mantine/core'
|
||||||
import { theme } from '@/theme'
|
import { theme } from '@/theme'
|
||||||
|
|
||||||
const MY_FOLDER = '/orionreed'
|
const MY_FOLDER = '/orionreed.github.io'
|
||||||
class SubfolderRouter extends Router {
|
class SubfolderRouter extends Router {
|
||||||
render(props: RouterProps, state: any) {
|
render(props: RouterProps, state: any) {
|
||||||
if (state.url.indexOf(MY_FOLDER) === 0) {
|
if (state.url.indexOf(MY_FOLDER) === 0) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue