Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

test preflightContinue

Carl-Gerhard Lindesvärdccfe0277b589
diff --git a/apps/api/src/index.ts b/apps/api/src/index.ts
index 69bc5bf5a..fcc43c9b0 100644
--- a/apps/api/src/index.ts
+++ b/apps/api/src/index.ts
@@ -99,6 +99,7 @@ const startServer = async () => {
fastify.register(cors, {
origin: '*',
credentials: true,
+ preflightContinue: true,
});
fastify.register((instance, opts, done) => {