mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
feat(infisical-pg): fixed audit log to estimate doc count and resolve cors issue
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user