Add Cache-Control header to api responses
This commit is contained in:
1 parent
e1a5a610bb
commit
edaa30f7b1
2 files changed
+10
-5
No files matched your search
@@ -9,6 +9,7 @@ const apiHeaders = {
|
||||
'Access-Control-Allow-Headers': '*',
|
||||
'Access-Control-Allow-Methods': 'GET, DELETE, POST, PUT',
|
||||
'Access-Control-Max-Age': process.env.CORS_MAX_AGE || '86400',
|
||||
'Cache-Control': 'no-cache',
|
||||
};
|
||||
|
||||
const trackerHeaders = {
|
||||
|
||||
Reference in new issue
Block a user