Further split flow control

This commit is contained in:
erik 2024-01-17 12:36:24 +01:00
parent 56b843981f
commit 260d086232

View file

@ -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))