Skip to content

Commit

Permalink
chore: set compressionMiddlewareOptions priority to high
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Dec 29, 2023
1 parent bfd1855 commit 07de246
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/middleware-compression/src/compressionMiddleware.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { HttpRequest } from "@smithy/protocol-http";
import {
AbsoluteLocation,
BuildHandler,
BuildHandlerArguments,
BuildHandlerOptions,
Expand Down Expand Up @@ -92,9 +93,10 @@ export const compressionMiddleware =
});
};

export const compressionMiddlewareOptions: BuildHandlerOptions = {
export const compressionMiddlewareOptions: BuildHandlerOptions & AbsoluteLocation = {
name: "compressionMiddleware",
step: "build",
tags: ["REQUEST_BODY_COMPRESSION", "GZIP"],
override: true,
priority: "high",
};

0 comments on commit 07de246

Please sign in to comment.