We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2f90fe commit adf17f6Copy full SHA for adf17f6
packages/server/core/src/serverBase.ts
@@ -56,9 +56,9 @@ export class ServerBase<E extends Env = any> {
56
handleSetupResult,
57
});
58
(serverContext as Record<string, any>).serverBase = this;
59
+ this.serverContext = serverContext as unknown as ServerContext;
60
// need after serverContext to run onPrepare
61
await serverContext.hooks.onPrepare.call();
- this.serverContext = serverContext as unknown as ServerContext;
62
this.#applyMiddlewares();
63
64
return this;
0 commit comments