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",
|
"name": "ngsplanner",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
@ -8,7 +8,7 @@ import 'reactjs-windows/dist/index.css'
|
|||||||
import {XSquareFill} from 'react-bootstrap-icons'
|
import {XSquareFill} from 'react-bootstrap-icons'
|
||||||
|
|
||||||
import {
|
import {
|
||||||
BrowserRouter as Router,
|
HashRouter,
|
||||||
Switch,
|
Switch,
|
||||||
Route
|
Route
|
||||||
} from "react-router-dom";
|
} from "react-router-dom";
|
||||||
@ -636,7 +636,7 @@ function App() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Router>
|
<HashRouter>
|
||||||
<Link to={process.env.PUBLIC_URL+"/admin"}>Test</Link>
|
<Link to={process.env.PUBLIC_URL+"/admin"}>Test</Link>
|
||||||
<Switch>
|
<Switch>
|
||||||
<Route path={process.env.PUBLIC_URL+"/test"}>
|
<Route path={process.env.PUBLIC_URL+"/test"}>
|
||||||
@ -668,7 +668,7 @@ function App() {
|
|||||||
</div>
|
</div>
|
||||||
</Route>
|
</Route>
|
||||||
</Switch>
|
</Switch>
|
||||||
</Router>
|
</HashRouter>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user