Skip to content

Commit

Permalink
types(proxy): req can be url too
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Feb 8, 2023
1 parent a78eb1d commit e13663b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export function getProxyRequestHeaders(event: H3Event) {

export function fetchWithEvent(
event: H3Event,
req: RequestInfo,
req: RequestInfo | URL,
init?: RequestInit,
options?: { fetch: typeof fetch }
) {
Expand Down

0 comments on commit e13663b

Please sign in to comment.