mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
parent
9e69f60d38
commit
5a6cde3ebc
@ -206,7 +206,12 @@ export default class Server {
|
||||
}
|
||||
}
|
||||
|
||||
// SubApp (Express)
|
||||
// Prefix on handle (proxy-module)
|
||||
if (middleware.handle.prefix !== undefined && middleware.prefix === undefined) {
|
||||
middleware.prefix = middleware.handle.prefix
|
||||
}
|
||||
|
||||
// sub-app (express)
|
||||
if (typeof middleware.handle.handle === 'function') {
|
||||
const server = middleware.handle
|
||||
middleware.handle = server.handle.bind(server)
|
||||
|
Loading…
Reference in New Issue
Block a user