From 34774759b233c1535c74a7f2783ffd40a542ab9d Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 30 May 2025 19:30:19 +0000 Subject: track payments --- lib/app.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/app.ts') diff --git a/lib/app.ts b/lib/app.ts index 837d2647..df696bc6 100644 --- a/lib/app.ts +++ b/lib/app.ts @@ -81,7 +81,10 @@ app.register(fastifyStatic, { prefix: "/public/", }); -await app.register(cors, { origin: true }); +await app.register(cors, { + origin: true, + credentials: true, +}); app.setErrorHandler((error, _, reply) => { if (error instanceof fastify.errorCodes.FST_ERR_BAD_STATUS_CODE) { -- cgit v1.2.3