lein-figwheel

reptiloid 2018-03-31T11:28:53.000057Z

Hi there. :figwheel {:ring-handler server.handler/app}

;handler.js
(ns server.handler
  (:require [app.entry :as entry]
            [compojure.core :refer :all]
            [compojure.route :as route]
            [ring.middleware.reload :refer [wrap-reload]]
            [ring.middleware.defaults :refer [wrap-defaults site-defaults]]
            [ring.util.response :as response]))

(defroutes app-routes
  (GET "/hello" [] (entry/app))
  (GET "/" [] "MAIN!!!")
  (route/not-found "Not Found"))

(def app (wrap-reload (wrap-defaults #'app-routes site-defaults)))
Could someone assist, why (GET "/" [] "MAIN!!!") is not working? I’m getting index.html from public folder, when going to <http://localhost:3449/>