temp disable cors

This commit is contained in:
Maidul Islam
2024-06-17 16:03:12 -04:00
parent 992cc03eca
commit c8677ac548
+1 -1
View File
@@ -58,7 +58,7 @@ export const main = async ({ db, smtp, logger, queue, keyStore }: TMain) => {
await server.register<FastifyCorsOptions>(cors, { await server.register<FastifyCorsOptions>(cors, {
credentials: true, credentials: true,
origin: appCfg.SITE_URL || true origin: false
}); });
// pull ip based on various proxy headers // pull ip based on various proxy headers
await server.register(fastifyIp); await server.register(fastifyIp);