Hi,

there's currently no native way to do this in Dropwizard. Feature request on 
GitHub or pull request welcome. ;-)

You could use a servlet filter such as [1] or [2] for this, though.

[1]: http://tuckey.org/urlrewrite/ <http://tuckey.org/urlrewrite/>
[2]: https://www.ocpsoft.org/rewrite/ <https://www.ocpsoft.org/rewrite/>


Cheers,
Jochen

> Am 19.08.2019 um 15:40 schrieb Avi Ben Harush <[email protected]>:
> 
> Hi,
> 
> I have a single page application with the following configuration
>     bootstrap.addBundle(new AssetsBundle("/app", "/app", "index.html", 
> "static"))
> 
> whenever I goto "http://localhost:8080/app 
> <http://localhost:8080/app/dashboard>" all works well, but when I goto 
> "http://localhost:8080/app/dashboard <http://localhost:8080/app/dashboard>" I 
> get a 404 response.
> how can I configure dropwizard to support path like "/app/*" ?
> 
> thanks

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dropwizard-user/672671B7-FD1B-40BD-A659-A48FC8C92E98%40schalanda.name.

Reply via email to