rate-limit #3
1 changed files with 3 additions and 2 deletions
|
@ -51,7 +51,8 @@
|
|||
(forgejo/generate-appini-env config)
|
||||
(forgejo/generate-secrets auth)]
|
||||
(when (contains? config :average)
|
||||
(forgejo/generate-rate-limit-ingress-and-cert config) ; this function has a vector as output
|
||||
(forgejo/generate-rate-limit-ingress-and-cert config)) ; this function has a vector as output
|
||||
(when (contains? config :average)
|
||||
[(forgejo/generate-rate-limit-middleware config)]) ; this does not
|
||||
(when (not (contains? config :average))
|
||||
(forgejo/generate-ingress-and-cert config))
|
||||
|
|
Loading…
Reference in a new issue