diff --git a/doc/tryItOut.png b/doc/tryItOut.png index 21616dc..a2a69d2 100644 Binary files a/doc/tryItOut.png and b/doc/tryItOut.png differ diff --git a/src/main/cljs/dda/c4k_jitsi/browser.cljs b/src/main/cljs/dda/c4k_jitsi/browser.cljs index 10f7dda..6dfb050 100644 --- a/src/main/cljs/dda/c4k_jitsi/browser.cljs +++ b/src/main/cljs/dda/c4k_jitsi/browser.cljs @@ -28,19 +28,15 @@ (generate-content)}) (defn config-from-document [] - (let [postgres-data-volume-path (br/get-content-from-element "postgres-data-volume-path" :optional true) - issuer (br/get-content-from-element "issuer" :optional true :deserializer keyword)] + (let [issuer (br/get-content-from-element "issuer" :optional true :deserializer keyword)] (merge - {:fqdn (br/get-content-from-element "fqdn")} - (when (some? postgres-data-volume-path) - {:postgres-data-volume-path postgres-data-volume-path}) + {:fqdn (br/get-content-from-element "fqdn")} (when (some? issuer) {:issuer issuer}) ))) (defn validate-all! [] - (br/validate! "fqdn" ::jitsi/fqdn) - (br/validate! "postgres-data-volume-path" ::pgc/postgres-data-volume-path :optional true) + (br/validate! "fqdn" ::jitsi/fqdn) (br/validate! "issuer" ::jitsi/issuer :optional true :deserializer keyword) (br/validate! "auth" core/auth? :deserializer edn/read-string) (br/set-validated!)) @@ -60,7 +56,6 @@ (config-from-document) (br/get-content-from-element "auth" :deserializer edn/read-string)) (br/set-output!))))) - (add-validate-listener "fqdn") - (add-validate-listener "postgres-data-volume-path") + (add-validate-listener "fqdn") (add-validate-listener "issuer") (add-validate-listener "auth")) \ No newline at end of file