Improve demo warning on home and add conditional build options.

This commit is contained in:
Andrey Antukh 2017-03-02 17:12:45 +01:00
parent 96092fda7c
commit e453841d66
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95
5 changed files with 21 additions and 5 deletions

View file

@ -4,9 +4,13 @@
(def debug?
(boolean (:uxbox-debug env nil)))
(def demo?
(boolean (:uxbox-demo env nil)))
(def defines
{"uxbox.config.url" "/api"
"uxbox.config.viewurl" "/view/"})
"uxbox.config.viewurl" "/view/"
"uxbox.config.isdemo" demo?})
(def options
{:main 'uxbox.main