We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6387cb commit bf4f1aaCopy full SHA for bf4f1aa
packages/docs/src/router.tsx
@@ -1,16 +1,14 @@
1
-import { createHashHistory, createRouter as createTanStackRouter } from '@tanstack/react-router'
+import { createRouter as createTanStackRouter } from '@tanstack/react-router'
2
3
import { NotFound } from '@/components/not-found'
4
import { routeTree } from './routeTree.gen'
5
6
-const hashHistory = createHashHistory()
7
-
8
export function getRouter() {
9
return createTanStackRouter({
10
routeTree,
11
defaultPreload: 'intent',
12
scrollRestoration: true,
13
defaultNotFoundComponent: NotFound,
14
- history: hashHistory,
+ // basepath: import.meta.env.PROD ? '/duron' : '/',
15
})
16
}
0 commit comments