Fork me on GitHub
#re-frame
<
2019-08-19
>
defa14:08:33

I created a new project with lein new re-frame playground +handler which works fine unless I want to change the backend handler (`src/clh/playground/handler.clj`) …

defa14:08:14

… it has no effect. I tried to add wrap a CORS handler but it has no effect.

defa14:08:43

… setting handler and dev-handler to nil also makes no difference. I stopped the server, made a clean compile: lein clean; lein dev … but no change.

defa14:08:00

… also renaming index.html in handler.clj sill serves resources/public/index.html even if the handler code is:

(defroutes routes
  (GET "/" [] (resource-response "foo.html" {:root "public"}))
  (resources "/"))

defa14:08:42

… production builds do not seem to be affected.