feat(infisical-pg): fixed audit log to estimate doc count and resolve cors issue

This commit is contained in:
Akhil Mohan
2024-01-27 12:40:37 +05:30
parent f519d1cffc
commit 53f16f01b8
+1 -1
View File
@@ -52,7 +52,7 @@ export const main = async ({ db, smtp, logger, queue }: TMain) => {
await server.register<FastifyCorsOptions>(cors, { await server.register<FastifyCorsOptions>(cors, {
credentials: true, credentials: true,
origin: appCfg.SITE_URL origin: appCfg.SITE_URL || true
}); });
// pull ip based on various proxy headers // pull ip based on various proxy headers
await server.register(fastifyIp); await server.register(fastifyIp);