Fix catch-all path for react router

master
Joshua Sigona 3 years ago
parent 32c9025a16
commit 367198a0d7
  1. 2
      package.json
  2. 2
      src/App.js

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

@ -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}/>

Loading…
Cancel
Save