Is there a simple way to return index.html file stored in the static folder for every request made? It shouldn't behave as redirectTo false "/" since this redirect changes the uri. It should preserve the current url and always return the index.html file.
I am trying to serve a single page application written in react.
Is there a simple way to return
index.html
file stored in thestatic
folder for every request made? It shouldn't behave asredirectTo false "/"
since this redirect changes the uri. It should preserve the currenturl
and always return theindex.html
file.I am trying to serve a single page application written in
react
.