I am trying to create a bootable application that will launch the jetty and Compojure webapp. The user who will deploy the application should be able to manually modify the css files and some configuration files, so packaging as a WAR is not a solution for me.
My idea is to have a standalone executable JAR in the same directory and below it the webdata / static / css directory.
However, using the following route, the file in the css directory is not served:
(route/files "/static" {:root (str (System/getProperty "user.dir") "/webdata")})
What is the problem?
source share