Permalink
Browse files

Switch to string and fn instead of regex

  • Loading branch information...
1 parent a04db71 commit 1d4daca986e81c8d85d19ba520eb79f156a8b81b @timewald timewald committed Apr 5, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 cors/dev/dev.clj
  2. +1 −1 cors/src/cors/service.clj
View
@@ -19,7 +19,7 @@
(merge {:env :dev
::bootstrap/join? false
::bootstrap/routes #(deref #'service/routes)
- ::bootstrap/allowed-origins [#""]})
+ ::bootstrap/allowed-origins (constantly true)})
(bootstrap/default-interceptors)
(bootstrap/dev-interceptors)))
@@ -62,7 +62,7 @@
;; default interceptors will be ignored.
;; :bootstrap/interceptors []
::bootstrap/routes routes
- ::bootstrap/allowed-origins [#"localhost"]
+ ::bootstrap/allowed-origins ["http://localhost:8080"]
;; Root for resource interceptor that is available by default.
::bootstrap/resource-path "/public"
;; Choose from [:jetty :tomcat].

0 comments on commit 1d4daca

Please sign in to comment.