Fork me on GitHub

@happy.lisper if you know the base before compiling (can store in var prior to route definitions), you should be able to refer to the var via compojure.core/context when defining routes (if I understand you correctly)


thx. just wanted to check if there is another construct or standard solution. context should work for me and in fact it is dynamic enough I can pass the mountpath from configuration to runtime.


if things have to be more dynamic than that, you could try just doing something similar to what these macros are doing (the fn’s they are using) to do things at later runtime