-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
Workers are started just once:
| this.worker.start(); |
this.middleware is only set here:
fastboot-app-server/src/worker.js
Lines 45 to 49 in a5d194e
| if (!this.distPath) { | |
| this.middleware = this.noAppMiddleware(); | |
| } else { | |
| this.middleware = this.buildMiddleware(); | |
| } |
And then you're stuck with that middleware forever:
fastboot-app-server/src/worker.js
Line 87 in a5d194e
| return this.httpServer.serve(this.middleware) |
For bonus points, fastbootMiddleware here:
| serve(fastbootMiddleware) { |
...is therefore possibly not a FastBoot middleware which is a super troll since we expose httpServer as a downstream API.
Metadata
Metadata
Assignees
Labels
No labels