Add compile time defined url variable for easy config the api url.

This commit is contained in:
Andrey Antukh 2016-03-15 23:00:57 +02:00
parent e5fda5aac3
commit f80c48e679
5 changed files with 10 additions and 7 deletions

View file

@ -15,8 +15,7 @@
[uxbox.transit :as t]
[uxbox.state :as ust]))
(def ^:private ^:const +uri+
"http://127.0.0.1:5050/api")
(goog-define url "http://127.0.0.1:5050/api")
(def ^:private +storage+
local-storage)