mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Remove deprecated and removed route (#4509)
This commit is contained in:
parent
e153bcbb9a
commit
8210686067
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue