2016-06-14 17:39:44 +03:00
|
|
|
;; 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/.
|
|
|
|
;;
|
2020-03-11 09:20:12 +01:00
|
|
|
;; 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
|
2016-06-14 17:39:44 +03:00
|
|
|
|
2020-03-11 09:20:12 +01:00
|
|
|
(ns uxbox.config
|
2020-04-30 17:14:34 +02:00
|
|
|
(:require [uxbox.util.object :as obj]))
|
2016-07-29 13:45:00 +03:00
|
|
|
|
2020-05-05 12:03:34 +02:00
|
|
|
(this-as global
|
|
|
|
(let [config (obj/get global "uxboxConfig")
|
2020-06-08 19:07:13 +02:00
|
|
|
puri (obj/get config "publicURI")
|
|
|
|
wuri (obj/get config "workerURI")
|
2020-05-26 12:53:22 +02:00
|
|
|
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)
|
2020-05-26 12:53:22 +02:00
|
|
|
(def google-client-id gcid)
|
2020-06-08 19:07:13 +02:00
|
|
|
(def worker-uri wuri)
|
2020-05-26 12:47:09 +02:00
|
|
|
(def public-uri puri)
|
2020-05-05 12:03:34 +02:00
|
|
|
(def default-theme "default")))
|