diff options
| author | Adam Soltys <[email protected]> | 2025-05-30 19:30:19 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-05-30 19:30:20 +0000 |
| commit | 34774759b233c1535c74a7f2783ffd40a542ab9d (patch) | |
| tree | c706cd20bc50274c0124fbdc736f090136ff37ce /lib/app.ts | |
| parent | 567512dd152616667e641f6f0395c2635e1159dd (diff) | |
| download | coinos-server-34774759b233c1535c74a7f2783ffd40a542ab9d.tar.gz coinos-server-34774759b233c1535c74a7f2783ffd40a542ab9d.zip | |
track payments
Diffstat (limited to 'lib/app.ts')
| -rw-r--r-- | lib/app.ts | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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) { |
