Replies: 2 comments 1 reply
-
See Mojolicious Rendering Guide for static files. |
Beta Was this translation helpful? Give feedback.
0 replies
-
As always before I post here I perused the documentation and googled for an answer. I did not find what I was looking for, but i did find a work around. Instead of redirecting the entire directory using some sort of Mojolicious::Static magic like I wanted, I just pick off individual requests and serve them with "$c->reply->static". |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My application has both a plain HTML client I use mostly for development and a Google Web Toolkit client I use mostly for production. On the production server the GWT files reside in an app directory under root, but when using the GWT client for development the files reside in a separate directory. Currently I use straight Plack but I am trying to switch to mojolicious. With Plack I can redirect requests for certain static files like this:
How would I accomplish that with mojolicious?
Beta Was this translation helpful? Give feedback.
All reactions