ran icon indicating copy to clipboard operation
ran copied to clipboard

server.js contains some resolves that don't exist

Open Enalmada opened this issue 6 years ago • 0 comments

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'))); }

Enalmada avatar Sep 09 '18 06:09 Enalmada