diff options
| author | Sylvain Pasche <github@spasche.net> | 2025-05-31 10:29:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-31 09:29:17 +0100 |
| commit | 915aeb3604c637b3c0faeddaf6e1ca9e1ceea07a (patch) | |
| tree | 62a7ad24844892ec0b114e921e546b425dce6c8a /apps/web/next.config.mjs | |
| parent | d903c7f905eae617123356fdfdf09c3075e9cae1 (diff) | |
| download | karakeep-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.mjs | 2 |
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) { |
