0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-25 07:58:49 -05:00
penpot/frontend/src/uxbox/config.cljs

25 lines
862 B
Text
Raw Normal View History

;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;;
;; This Source Code Form is "Incompatible With Secondary Licenses", as
;; defined by the Mozilla Public License, v. 2.0.
;;
2020-05-05 12:03:34 +02:00
;; Copyright (c) 2020 UXBOX Labs SL
(ns uxbox.config
(:require [uxbox.util.object :as obj]))
2020-05-05 12:03:34 +02:00
(this-as global
(let [config (obj/get global "uxboxConfig")
puri (obj/get config "publicURI")
wuri (obj/get config "workerURI")
gcid (obj/get config "googleClientID" true)
2020-05-05 12:34:51 +02:00
warn (obj/get config "demoWarning" true)]
2020-05-05 12:03:34 +02:00
(def default-language "en")
2020-05-05 12:34:51 +02:00
(def demo-warning warn)
(def google-client-id gcid)
(def worker-uri wuri)
(def public-uri puri)
2020-05-05 12:03:34 +02:00
(def default-theme "default")))