no cache headers on .well-known endpoints

This commit is contained in:
austinkelsay 2024-11-15 14:21:35 -06:00
parent 9957d1acbf
commit cd52755c00
No known key found for this signature in database
GPG Key ID: 44CB4EC6D9F2FA02

View File

@ -62,6 +62,17 @@ module.exports = removeImports({
value: "max-age=31536000; includeSubDomains; preload"
},
],
source: "/api/.well-known/:path*",
headers: [
{
key: "Access-Control-Allow-Origin",
value: "*"
},
{
key: 'Cache-Control',
value: 'no-cache, max-age=0, must-revalidate'
}
],
},
];
},