Hello!
How to fix this issue?
When use short url like "/" or "/somthing" it works fine because it return the index.html that has the script of WebApp.js
But when using long url like "/somthing/sothingelse"
I got this error
It can't serve the index.html
Any idea how to fix it ?
r
Robert Jaros
04/24/2022, 12:37 PM
try adding this somewhere in
webpack.config.d
Copy code
if (config.devServer) {
config.devServer.historyApiFallback = true
}