Fix deploy location
This commit is contained in:
parent
9ce0e2737e
commit
32c9025a16
@ -1,5 +1,5 @@
|
||||
{
|
||||
"homepage": "https://sigonasr2.github.io/ngsplanner",
|
||||
"homepage": "https://sigonasr2.github.io/#/ngsplanner",
|
||||
"name": "ngsplanner",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
|
@ -8,7 +8,7 @@ import 'reactjs-windows/dist/index.css'
|
||||
import {XSquareFill} from 'react-bootstrap-icons'
|
||||
|
||||
import {
|
||||
BrowserRouter as Router,
|
||||
HashRouter,
|
||||
Switch,
|
||||
Route
|
||||
} from "react-router-dom";
|
||||
@ -636,7 +636,7 @@ function App() {
|
||||
|
||||
return (
|
||||
<>
|
||||
<Router>
|
||||
<HashRouter>
|
||||
<Link to={process.env.PUBLIC_URL+"/admin"}>Test</Link>
|
||||
<Switch>
|
||||
<Route path={process.env.PUBLIC_URL+"/test"}>
|
||||
@ -668,7 +668,7 @@ function App() {
|
||||
</div>
|
||||
</Route>
|
||||
</Switch>
|
||||
</Router>
|
||||
</HashRouter>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user