mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-17 08:00:02 -04:00
why were we proxying headers?
This commit is contained in:
parent
8217897d1e
commit
a1ce4e33b3
2 changed files with 6 additions and 5 deletions
|
@ -16,11 +16,11 @@ export default function (client: ScramjetClient, self: typeof globalThis) {
|
|||
},
|
||||
});
|
||||
|
||||
client.Proxy("Headers", {
|
||||
construct(ctx) {
|
||||
ctx.args[0] = rewriteHeaders(ctx.args[0]);
|
||||
},
|
||||
});
|
||||
// client.Proxy("Headers", {
|
||||
// construct(ctx) {
|
||||
// ctx.args[0] = rewriteHeaders(ctx.args[0]);
|
||||
// },
|
||||
// });
|
||||
|
||||
client.Proxy("Request", {
|
||||
construct(ctx) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue