Fix catch-all path for react router

This commit is contained in:
Joshua Sigona 2021-07-25 21:36:42 +09:00
parent 32c9025a16
commit 367198a0d7
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{
"homepage": "https://sigonasr2.github.io/#/ngsplanner",
"homepage": "https://sigonasr2.github.io/ngsplanner/#",
"name": "ngsplanner",
"version": "0.1.0",
"private": true,

View File

@ -649,7 +649,7 @@ function App() {
<TestHeader/>
<div id="main"><TestPanel/></div>
</Route>
<Route path={process.env.PUBLIC_URL+"/"}>
<Route path="/">
<div id="main">
<Col>
<MainBox author={author} setAuthor={setAuthor} buildName={buildName} setBuildName={setBuildName} className={className} setClassName={setClassName} secondaryClassName={secondaryClassName} setSecondaryClassName={setSecondaryClassName}/>