Add Cache-Control header to api responses

This commit is contained in:
Maxime-J committed 2025-04-12 15:21:51 +02:00
1 parent e1a5a610bb
commit edaa30f7b1
2 files changed
+10 -5

No files matched your search

+1
View File
@@ -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 = {