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:
parent
cc429acbc3
commit
4da2567ab2
1 changed files with 0 additions and 4 deletions
|
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue