Replacing deprecated symbols.
This commit is contained in:
parent
f48b09d378
commit
bcde3a6d64
|
@ -13,10 +13,10 @@ router
|
||||||
compress({
|
compress({
|
||||||
threshold: 2048,
|
threshold: 2048,
|
||||||
gzip: {
|
gzip: {
|
||||||
flush: zlib.Z_SYNC_FLUSH,
|
flush: zlib.constants.Z_SYNC_FLUSH,
|
||||||
},
|
},
|
||||||
deflate: {
|
deflate: {
|
||||||
flush: zlib.Z_SYNC_FLUSH,
|
flush: zlib.constants.Z_SYNC_FLUSH,
|
||||||
},
|
},
|
||||||
br: false,
|
br: false,
|
||||||
})
|
})
|
||||||
|
|
|
@ -10,10 +10,10 @@ router
|
||||||
compress({
|
compress({
|
||||||
threshold: 2048,
|
threshold: 2048,
|
||||||
gzip: {
|
gzip: {
|
||||||
flush: zlib.Z_SYNC_FLUSH,
|
flush: zlib.constants.Z_SYNC_FLUSH,
|
||||||
},
|
},
|
||||||
deflate: {
|
deflate: {
|
||||||
flush: zlib.Z_SYNC_FLUSH,
|
flush: zlib.constants.Z_SYNC_FLUSH,
|
||||||
},
|
},
|
||||||
br: false,
|
br: false,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue