fix: Add Cache-Control to allowed CORS headers (#5252)

This commit is contained in:
Dhruwang Jariwala
2025-04-07 20:17:02 +05:30
committed by GitHub
parent 785c5a59c6
commit 81fc97c7e9
+2 -2
View File
@@ -135,7 +135,7 @@ const nextConfig = {
{
key: "Access-Control-Allow-Headers",
value:
"X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version",
"X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version, Cache-Control",
},
],
},
@@ -149,7 +149,7 @@ const nextConfig = {
{
key: "Access-Control-Allow-Headers",
value:
"X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version",
"X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version, Cache-Control",
},
],
},