fix: trustProxy for webhook IP validation, filter expired payments, remove dead code

This commit is contained in:
Kirill
2026-05-20 19:40:23 +05:00
parent 3177413acd
commit ae6f86041a
2 changed files with 7 additions and 2 deletions
+1
View File
@@ -39,6 +39,7 @@ const origin = (process.env.CORS_ORIGIN ?? '')
const fastify = Fastify({
logger: true,
bodyLimit: getMaxUploadBodyBytes(),
trustProxy: true,
})
await fastify.register(cors, {