diff --git a/apps/remix/server/main.js b/apps/remix/server/main.js index e0d54f65c..15fa84e12 100644 --- a/apps/remix/server/main.js +++ b/apps/remix/server/main.js @@ -17,7 +17,7 @@ server.use( serveStatic({ root: 'build/client', onFound: (path, c) => { - if (path.startsWith('./build/client/assets')) { + if (path.startsWith('build/client/assets')) { // Hard cache assets with hashed file names. c.header('Cache-Control', 'public, immutable, max-age=31536000'); } else {