We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f07ea0 commit 7c92d53Copy full SHA for 7c92d53
demo/public/404.html
@@ -10,7 +10,7 @@
10
<script>
11
// GitHub Pages SPA redirect
12
// Redirect to the main demo page and let React Router handle the routing
13
- var segmentCount = 1; // Number of path segments to keep (/demo/)
+ var segmentCount = 2; // Number of path segments to keep (/Needle/demo/)
14
var l = window.location;
15
l.replace(
16
l.protocol + '//' + l.hostname + (l.port ? ':' + l.port : '') +
demo/src/App.js
@@ -35,7 +35,7 @@ function App() {
35
console.log('Needle Demo App loading...');
36
37
return (
38
- <Router>
+ <Router basename="/Needle/demo">
39
<div className="App">
40
<RedirectHandler />
41
<Layout>
0 commit comments