Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

feat: Allow PATCH method in CORS headers (#1489)

Sylvain Pasche915aeb3604c6
diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs
index 3eadbf91..df864f22 100644
--- a/apps/web/next.config.mjs
+++ b/apps/web/next.config.mjs
@@ -34,7 +34,7 @@ const nextConfig = withPWA({
// Allows for specific methods accepted
{
key: "Access-Control-Allow-Methods",
- value: "GET, POST, PUT, DELETE, OPTIONS",
+ value: "GET, POST, PUT, PATCH, DELETE, OPTIONS",
},
// Allows for specific headers accepted (These are a few standard ones)
{