Skip to content
This repository was archived by the owner on Aug 17, 2025. It is now read-only.

Commit 2bb7fac

Browse files
committed
QuickFix: Fixed HashRouter Basename
1 parent a89ab2f commit 2bb7fac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Home from './routes/Home/Home.tsx'
77

88
createRoot(document.getElementById('root')!).render(
99
<StrictMode>
10-
<HashRouter basename={import.meta.env.DEV ? '/' : '/boardify'}>
10+
<HashRouter basename={'/'}>
1111
<Routes>
1212
<Route path="/" element={<Layout />}>
1313
<Route index element={<Home />} />

0 commit comments

Comments
 (0)