mirror of
https://github.com/sussy-code/sudo-proxy.git
synced 2026-04-19 16:02:03 +00:00
set instead of append (append doubles header values)
This commit is contained in:
parent
96dc6d21d1
commit
714b91ef8c
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ export default defineEventHandler(async (event) => {
|
||||||
},
|
},
|
||||||
onResponse(outputEvent, response) {
|
onResponse(outputEvent, response) {
|
||||||
const headers = getAfterResponseHeaders(response.headers, response.url);
|
const headers = getAfterResponseHeaders(response.headers, response.url);
|
||||||
appendResponseHeaders(outputEvent, headers);
|
setResponseHeaders(outputEvent, headers);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue