🐛 Fix unexpected unhandled exception on 404 requests on media.

This commit is contained in:
Andrey Antukh 2020-03-26 11:23:41 +01:00
parent fc6948e627
commit 1ed1c95e4d
2 changed files with 8 additions and 1 deletions

View file

@ -58,7 +58,7 @@
:method :get}]]]]
handler (vw/handler ctx
(vw/assets "/media/*" {:root "resources/public/media/"})
(vw/assets "/media/*" {:root "resources/public/media"})
(vw/assets "/static/*" {:root "resources/public/static"})
(vw/router routes))]