Skip to content

Commit 5e36256

Browse files
committed
fix CI
1 parent b8f75f0 commit 5e36256

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/adapter-node/src/server.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ export function createServer({ render }) {
2929
const assets_handler = fs.existsSync(paths.assets)
3030
? sirv(paths.assets, {
3131
setHeaders: (res, pathname, stats) => {
32-
// @ts-ignore
33-
if (pathname.startsWith(APP_DIR)) { // eslint-disable-line no-undef
32+
// eslint-disable-next-line no-undef
33+
if (pathname.startsWith(APP_DIR)) {
3434
res.setHeader('cache-control', 'public, max-age=31536000, immutable');
3535
}
3636
},

0 commit comments

Comments
 (0)