Compare commits

..

No commits in common. "9d04ab1ae5f86845dc44356774e03b7cf4789dad" and "bedc06c41ba66ea27d659264919a46479c97ef5e" have entirely different histories.

2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@because/sneaker",
"version": "0.0.4",
"version": "0.0.3",
"description": "http tunnel server and client",
"module": "src/client.ts",
"type": "module",

View File

@ -103,7 +103,6 @@ app.all("*", async c => {
const raw = c.req.raw
const headers: Record<string, string> = {}
raw.headers.forEach((value, key) => { headers[key] = value })
headers['x-sneaker'] = url.hostname
delete headers['host']
delete headers['connection']
delete headers['keep-alive']