Hello! How to fix this issue? When use short url l...
# javascript
a
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
try adding this somewhere in
webpack.config.d
Copy code
if (config.devServer) {
    config.devServer.historyApiFallback = true
}
a
Already did it