Skip to content

Commit d7e09da

Browse files
chore: apply automated updates
1 parent 37fda4a commit d7e09da

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/utils/proxy.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,10 @@ export async function proxy(
137137
/**
138138
* Get the request headers object without headers known to cause issues when proxying.
139139
*/
140-
export function getProxyRequestHeaders(event: H3Event, opts?: { host?: boolean }) {
140+
export function getProxyRequestHeaders(
141+
event: H3Event,
142+
opts?: { host?: boolean },
143+
) {
141144
const headers = new EmptyObject();
142145
for (const [name, value] of event.request.headers.entries()) {
143146
if (!ignoredHeaders.has(name) || (name === "host" && opts?.host)) {

0 commit comments

Comments
 (0)