trust recipe proxy hosts for CSRF checks
This commit is contained in:
1 parent
a7598bbe5e
commit
fe6846ea0f
1 file changed
+7
@@ -9,5 +9,12 @@ export default defineConfig({
|
||||
outDir: "./dist/app",
|
||||
adapter: node({ mode: "standalone" }),
|
||||
integrations: [preact()],
|
||||
security: {
|
||||
checkOrigin: true,
|
||||
allowedDomains: [
|
||||
{ hostname: "recipes.uuard.com", protocol: "https" },
|
||||
{ hostname: "recipes-admin.uuard.com", protocol: "https" },
|
||||
],
|
||||
},
|
||||
vite: { server: { fs: { allow: ["."] } } },
|
||||
});
|
||||
Reference in new issue
Block a user