Groups
Groups
Sign in
Groups
Groups
dropwizard-user
Conversations
About
Send feedback
Help
single page application
58 views
Skip to first unread message
Avi Ben Harush
unread,
Aug 19, 2019, 9:40:45 AM
8/19/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dropwizard-user
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
" all works well, but when I goto "
http://localhost:8080/app/dashboard
" I get a 404 response.
how can I configure dropwizard to support path like "/app/*" ?
thanks
Jochen Schalanda
unread,
Aug 20, 2019, 5:25:33 PM
8/20/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dropwiz...@googlegroups.com
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/
[2]:
https://www.ocpsoft.org/rewrite/
Cheers,
Jochen
Reply all
Reply to author
Forward
0 new messages