ring

2018-07-17T23:36:40.000128Z

@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)

2018-07-19T04:48:11.000008Z

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.

2018-07-17T23:37:09.000180Z

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