Skip to content
Juho Teperi edited this page Aug 4, 2017 · 4 revisions

Boot-http

Boot-alt-http

https://github.com/metosin/boot-alt-test

Ring

Use resource-handler / Compojure resources route to serve files from classpath.

https://github.com/Deraen/saapas/blob/master/src/clj/backend/server.clj#L14-L15

Take care of the classpath prefix (:root) when or if you are using the same code in production. The classpath probably contains files you don't want to be globally accessible.

Clone this wiki locally