Open oren opened 5 years ago
Yes GitHub Pages doesn't support this.
For GitHub Pages, it will work if you can rename index.html to 404.html, however the response status code will be 404 😅
It's recommended to use Netlify, ZEIT now or Render.com instead if you want to use history mode
Here is my test website - http://oren.github.io/new/
clicking on a url from the sidebar, for example - http://oren.github.io/new/ai.md, causing 404 on the 'fetch' of ai.md and the page is not showing.
That's the code: https://github.com/oren/oren.github.io/blob/fca5c6fb69c19c3602363bd0acaaca65b51d70cd/new/index.html