I am using dropwizard AssetsBundle serving Angular 2 application. 


Now, angular 2 app path has following pattern: http://host.com/base/route
, where http://host.com/base has to be rerouted to 
http://host.com/base/index.html, and "route" part to be parsed and handled 
by Angular client side code.


Unfortunately AssetsBundle can't find any resources by 
http://host.com/base/route path, and returns 404 error instead of rerouting 
request to http://host.com/base/index.html.

Any idea how to handle this? I can write my own AssetsBundle to handle this 
situation, but would like to avoid it if there is any workaround.


Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to