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 0f78ca2 commit e71446cCopy full SHA for e71446c
packages/mws/src/RequestState.ts
@@ -55,7 +55,8 @@ export class StateObject<
55
this.sendAdmin = (status: number, response: ServerToReactAdmin) =>
56
router.sendAdmin(this, status, response);
57
58
- this.compressor.enabled = router.config.enableGzip;
+ if (this.compressor)
59
+ this.compressor.enabled = router.config.enableGzip;
60
}
61
62
okUser() {
0 commit comments