mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
Improve demo warning on home and add conditional build options.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user