temp disable cors

This commit is contained in:
Maidul Islam
2024-06-17 16:02:53 -04:00
parent 992cc03eca
commit c8677ac548

View File

@@ -58,7 +58,7 @@ export const main = async ({ db, smtp, logger, queue, keyStore }: TMain) => {
await server.register<FastifyCorsOptions>(cors, {
credentials: true,
origin: appCfg.SITE_URL || true
origin: false
});
// pull ip based on various proxy headers
await server.register(fastifyIp);