diff options
Diffstat (limited to 'haunt/api.scm')
| -rw-r--r-- | haunt/api.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/haunt/api.scm b/haunt/api.scm index 2b476d7..b6093f6 100644 --- a/haunt/api.scm +++ b/haunt/api.scm @@ -17,6 +17,7 @@ (use-modules (ice-9 match) (jakob dynamic blacklist) (jakob dynamic captcha) + (jakob dynamic config) (jakob dynamic capabilities comment-form) (jakob dynamic capabilities comments) (jakob dynamic capabilities gallery) @@ -66,7 +67,7 @@ (values->list (format-error-response ex)))) (fail-when-ip-blacklisted originating-ip) (values->list - ((rate-limit-wrap + (((if (%debug-enabled) identity rate-limit-wrap) (match (cons (request-method request) endpoint) (('GET "apps" "comment-form" _) get-comment-form) ('(GET "api" "challenge" "proof-of-work") make-pow-challenge!) |