Hello.

I'd like to add static map for specific path. To server all files under https://mysite/share statically from "share" folder.


So I've added

    enable "Static",
      path => qr{^/share/},
      root => $poet->root_dir;

to the bin/app.psgi.

Are there other ways?

Is app.psgi the proper place for this or it's better do not edit it?


--
sergio.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to