diff --git a/api/src/hff_entry_forms_apipkg/api.nim b/api/src/hff_entry_forms_apipkg/api.nim index bca5919..5008bec 100644 --- a/api/src/hff_entry_forms_apipkg/api.nim +++ b/api/src/hff_entry_forms_apipkg/api.nim @@ -39,6 +39,8 @@ template jsonResp(code: HttpCode, } else: @{:} + debug "Request origin: $#\nKnown origins: $#\nAdding headers:\n$#" % + [ reqOrigin, cfg.knownOrigins.join(" | "), $corsHeaders ] halt( code, headersToSend & corsHeaders & @{