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

This commit is contained in:
Akhil Mohan
2024-01-26 19:38:26 +05:30
parent f519d1cffc
commit 53f16f01b8

View File

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