Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix build error
  • Loading branch information
andrew committed May 16, 2016
1 parent 5ab1279 commit 13c6f2a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/cljs/ulysses/config.cljs
@@ -1,4 +1,5 @@
(ns ulysses.config)
(ns ulysses.config
(:require [clojure.string :as string]))

(def debug?
^boolean js/goog.DEBUG)
Expand All @@ -11,7 +12,7 @@
.-hostname))

(def api-endpoint
(if (or debug? (string/includes hostname "staging"))
(if (or debug? (string/includes? hostname "staging"))
"http://ulysses-api-staging.core/api"
"http://ulysses-api-alpha.core/api"))

Expand Down

0 comments on commit 13c6f2a

Please sign in to comment.