                api-routes
                graphql-routes
                last-routes)
-        middleware/wrap-base)))
+        wrap-cors
+        middleware/wrap-base
+        )))
 
 ;; base-routes
 

  ; (stop-nrepl)
  (timbre/info "shutdown complete!"))

(defn app []
  (let [plugin-routes (vec (rl/load-plugin-routes))
        ; base-routes needs to be very last because it contains not-found

  (route/resources "/")
  (route/not-found "Not Found"))

(defn init
  "init will be called once on startup"
  []
