mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 15:39:50 -05:00
🔥 Remove unused config.
This commit is contained in:
parent
f7a4f9906c
commit
b9fe8e4b33
3 changed files with 2 additions and 12 deletions
|
@ -37,10 +37,6 @@
|
||||||
|
|
||||||
:local-assets-uri "http://localhost:3449/internal/assets/"
|
:local-assets-uri "http://localhost:3449/internal/assets/"
|
||||||
|
|
||||||
;; Special configuration for TMP backend.
|
|
||||||
:storage-tmp-directory "/tmp/penpot"
|
|
||||||
:storage-tmp-uri "file:///tmp/penpot/"
|
|
||||||
|
|
||||||
:rlimits-password 10
|
:rlimits-password 10
|
||||||
:rlimits-image 2
|
:rlimits-image 2
|
||||||
|
|
||||||
|
@ -48,14 +44,12 @@
|
||||||
:smtp-default-reply-to "no-reply@example.com"
|
:smtp-default-reply-to "no-reply@example.com"
|
||||||
:smtp-default-from "no-reply@example.com"
|
:smtp-default-from "no-reply@example.com"
|
||||||
|
|
||||||
:host "devenv"
|
|
||||||
|
|
||||||
:allow-demo-users true
|
:allow-demo-users true
|
||||||
:registration-enabled true
|
:registration-enabled true
|
||||||
:registration-domain-whitelist ""
|
:registration-domain-whitelist ""
|
||||||
|
|
||||||
:telemetry-enabled false
|
:telemetry-enabled false
|
||||||
:telemetry-uri "http://localhost:6063/"
|
:telemetry-uri "https://telemetry.penpot.app/"
|
||||||
|
|
||||||
:debug true
|
:debug true
|
||||||
|
|
||||||
|
@ -97,7 +91,6 @@
|
||||||
(s/def ::secret-key ::us/string)
|
(s/def ::secret-key ::us/string)
|
||||||
(s/def ::asserts-enabled ::us/boolean)
|
(s/def ::asserts-enabled ::us/boolean)
|
||||||
|
|
||||||
(s/def ::host ::us/string)
|
|
||||||
(s/def ::error-report-webhook ::us/string)
|
(s/def ::error-report-webhook ::us/string)
|
||||||
(s/def ::smtp-enabled ::us/boolean)
|
(s/def ::smtp-enabled ::us/boolean)
|
||||||
(s/def ::smtp-default-reply-to ::us/email)
|
(s/def ::smtp-default-reply-to ::us/email)
|
||||||
|
@ -164,7 +157,6 @@
|
||||||
::gitlab-client-secret
|
::gitlab-client-secret
|
||||||
::google-client-id
|
::google-client-id
|
||||||
::google-client-secret
|
::google-client-secret
|
||||||
::host
|
|
||||||
::http-server-debug
|
::http-server-debug
|
||||||
::http-server-port
|
::http-server-port
|
||||||
::http-server-cors
|
::http-server-cors
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
:method (:request-method request)
|
:method (:request-method request)
|
||||||
:params (:params request)
|
:params (:params request)
|
||||||
:version (:full cfg/version)
|
:version (:full cfg/version)
|
||||||
:host (:host cfg/config)
|
:host (:public-uri cfg/config)
|
||||||
:class (.getCanonicalName ^java.lang.Class (class error))
|
:class (.getCanonicalName ^java.lang.Class (class error))
|
||||||
:hint (ex-message error)}
|
:hint (ex-message error)}
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,6 @@
|
||||||
|
|
||||||
(defn reset-passwords
|
(defn reset-passwords
|
||||||
[system]
|
[system]
|
||||||
(when (not= "devenv" (:host cfg/config))
|
|
||||||
(throw (ex-info "Can't proceed, only allowed this operation on devenv" {})))
|
|
||||||
(db/with-atomic [conn (:app.db/pool system)]
|
(db/with-atomic [conn (:app.db/pool system)]
|
||||||
(let [password (derive-password "123123")]
|
(let [password (derive-password "123123")]
|
||||||
(db/exec! conn ["update profile set password=?" password]))))
|
(db/exec! conn ["update profile set password=?" password]))))
|
||||||
|
|
Loading…
Add table
Reference in a new issue