forked from Shiloh/remnantchat
fix: support index.html path
This commit is contained in:
parent
7e68849eea
commit
583c808f4e
@ -8,7 +8,9 @@ function Bootstrap() {
|
||||
return (
|
||||
<div className="Chitchatter">
|
||||
<Routes>
|
||||
<Route path="/" element={<Home />} />
|
||||
{['/', '/index.html'].map(path => (
|
||||
<Route key={path} path={path} element={<Home />} />
|
||||
))}
|
||||
<Route path="/public/:roomId" element={<PublicRoom />} />
|
||||
</Routes>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user