mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 03:26:38 +02:00
Improve demo warning on home and add conditional build options.
This commit is contained in:
parent
96092fda7c
commit
e453841d66
5 changed files with 21 additions and 5 deletions
|
@ -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.view
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue