diff --git a/api/assetProxy.js b/api/assetProxy.js index d2ba266..5ed22ce 100644 --- a/api/assetProxy.js +++ b/api/assetProxy.js @@ -33,8 +33,6 @@ export default async (req, res) => { ); res.status(proxyRes.status); - if (proxyRes.ok) { - res.setHeader("Cache-Control", "public, max-age=86400"); // 1 day - } + res.setHeader("Cache-Control", proxyRes.headers.get("Cache-Control")); streamPipeline(proxyRes.body, res); };