mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-06 18:31:00 +00:00
no cache headers on .well-known endpoints
This commit is contained in:
parent
9957d1acbf
commit
cd52755c00
@ -62,6 +62,17 @@ module.exports = removeImports({
|
|||||||
value: "max-age=31536000; includeSubDomains; preload"
|
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'
|
||||||
|
}
|
||||||
|
],
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user