Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
magne4000 committed Oct 15, 2024
1 parent 2013d2b commit 662d027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vike-node/src/runtime/vike-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async function renderPageWeb<PlatformRequest>({
export const renderPageCompress = ((options?) => async (request, context, runtime: any) => {
const nodeReq: IncomingMessage | undefined = runtime.req
const compressionType = options?.compress ?? !isVercel()
const compressMiddleware = compressMiddlewareFactory()(request);
const compressMiddleware = compressMiddlewareFactory()(request)

return async (response) => {
if (!globalStore.isPluginLoaded && nodeReq) {
Expand Down

0 comments on commit 662d027

Please sign in to comment.