mercredi 28 juin 2017

index.html file for all request in jboss

How to tell Jboss to serve index.html file for all URL patterns? for example domain.com/ => index.html, domain.com/queries => index.html, http://ift.tt/2tmiQbo => index.html.

The application is single page application and the routing is handled in the UI but there are cases when user click on refresh button while their are in different page than home page (root) they get JBWEB000065: HTTP Status 404.

What I'm trying to achieve is domain.com/* => index.html

Any help here?




Aucun commentaire:

Enregistrer un commentaire