ran
ran copied to clipboard
server.js contains some resolves that don't exist
At the bottom of server.js, there are some paths like manifest.html, manifest.appcache, etc that don't resolve. Perhaps they were constructs from older version of next.js? I am totally new to what they might be so if those are there for a reason could you comment why/what we should be doing to benefit from them?
server.get('/sw.js', (req, res) => app.serveStatic(req, res, path.resolve('./.next/sw.js'))); server.get('/manifest.html', (req, res) => app.serveStatic(req, res, path.resolve('./.next/manifest.html'))); server.get('/manifest.appcache', (req, res) => app.serveStatic(req, res, path.resolve('./.next/manifest.appcache'))); if (isProd) { server.get('/_next/-/app.js', (req, res) =>app.serveStatic(req, res, path.resolve('./.next/app.js'))); server.get('/_next/${hash}/app.js', (req, res) => app.serveStatic(req, res, path.resolve('./.next/app.js'))); }