fix: remove unused arg

pull/2476/head
Luke Edwards 6 years ago
parent ece8224085
commit 5928378664

@ -95,7 +95,7 @@ if (process.env.GITHUB_CLIENT_ID) {
app.use( app.use(
compression({ threshold: 0 }), compression({ threshold: 0 }),
serve('static', { serve('static', {
setHeaders(res, pathname) { setHeaders(res) {
res.setHeader('Access-Control-Allow-Origin', '*'); res.setHeader('Access-Control-Allow-Origin', '*');
res.hasHeader('Cache-Control') || res.setHeader('Cache-Control', 'max-age=600'); // 10min default res.hasHeader('Cache-Control') || res.setHeader('Cache-Control', 'max-age=600'); // 10min default
} }

Loading…
Cancel
Save