fix: remove cache-control headers

There is some flakyness going on from time to time and we don't want to
cache that. Good thing is that internal fetches are cached already.
This commit is contained in:
WebStreamr 2025-05-12 15:29:24 +00:00
parent cc429acbc3
commit 4da2567ab2
No known key found for this signature in database

View file

@ -51,10 +51,6 @@ addon.use((_req: Request, res: Response, next: NextFunction) => {
res.setHeader('Access-Control-Allow-Origin', '*');
res.setHeader('Access-Control-Allow-Headers', '*');
if (process.env['NODE_ENV'] === 'production') {
res.setHeader('Cache-Control', 'max-age=3600, public');
}
next();
});