aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/next.config.mjs
diff options
context:
space:
mode:
authorSylvain Pasche <github@spasche.net>2025-05-31 10:29:17 +0200
committerGitHub <noreply@github.com>2025-05-31 09:29:17 +0100
commit915aeb3604c637b3c0faeddaf6e1ca9e1ceea07a (patch)
tree62a7ad24844892ec0b114e921e546b425dce6c8a /apps/web/next.config.mjs
parentd903c7f905eae617123356fdfdf09c3075e9cae1 (diff)
downloadkarakeep-915aeb3604c637b3c0faeddaf6e1ca9e1ceea07a.tar.zst
feat: Allow PATCH method in CORS headers (#1489)
Diffstat (limited to 'apps/web/next.config.mjs')
-rw-r--r--apps/web/next.config.mjs2
1 files changed, 1 insertions, 1 deletions
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)
{