Remove deprecated and removed route (#4509)

This commit is contained in:
Tim Neutkens 2018-06-01 13:15:03 +02:00 committed by GitHub
parent e153bcbb9a
commit 8210686067
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,11 +152,6 @@ export default class Server {
async defineRoutes () {
const routes = {
'/_next-prefetcher.js': async (req, res, params) => {
const p = join(__dirname, '../client/next-prefetcher-bundle.js')
await this.serveStatic(req, res, p)
},
// This is to support, webpack dynamic imports in production.
'/_next/webpack/chunks/:name': async (req, res, params) => {
// Cache aggressively in production