mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 07:29:08 -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/"
|
||||
|
||||
;; Special configuration for TMP backend.
|
||||
:storage-tmp-directory "/tmp/penpot"
|
||||
:storage-tmp-uri "file:///tmp/penpot/"
|
||||
|
||||
:rlimits-password 10
|
||||
:rlimits-image 2
|
||||
|
||||
|
@ -48,14 +44,12 @@
|
|||
:smtp-default-reply-to "no-reply@example.com"
|
||||
:smtp-default-from "no-reply@example.com"
|
||||
|
||||
:host "devenv"
|
||||
|
||||
:allow-demo-users true
|
||||
:registration-enabled true
|
||||
:registration-domain-whitelist ""
|
||||
|
||||
:telemetry-enabled false
|
||||
:telemetry-uri "http://localhost:6063/"
|
||||
:telemetry-uri "https://telemetry.penpot.app/"
|
||||
|
||||
:debug true
|
||||
|
||||
|
@ -97,7 +91,6 @@
|
|||
(s/def ::secret-key ::us/string)
|
||||
(s/def ::asserts-enabled ::us/boolean)
|
||||
|
||||
(s/def ::host ::us/string)
|
||||
(s/def ::error-report-webhook ::us/string)
|
||||
(s/def ::smtp-enabled ::us/boolean)
|
||||
(s/def ::smtp-default-reply-to ::us/email)
|
||||
|
@ -164,7 +157,6 @@
|
|||
::gitlab-client-secret
|
||||
::google-client-id
|
||||
::google-client-secret
|
||||
::host
|
||||
::http-server-debug
|
||||
::http-server-port
|
||||
::http-server-cors
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
:method (:request-method request)
|
||||
:params (:params request)
|
||||
:version (:full cfg/version)
|
||||
:host (:host cfg/config)
|
||||
:host (:public-uri cfg/config)
|
||||
:class (.getCanonicalName ^java.lang.Class (class error))
|
||||
:hint (ex-message error)}
|
||||
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
|
||||
(defn reset-passwords
|
||||
[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)]
|
||||
(let [password (derive-password "123123")]
|
||||
(db/exec! conn ["update profile set password=?" password]))))
|
||||
|
|
Loading…
Add table
Reference in a new issue