Fix proxy server: remove URL param so it doesn't interfere with Next.js (#753)

Fixes #748
This commit is contained in:
Will Chen
2025-07-31 15:18:37 -07:00
committed by GitHub
parent e5e1495c57
commit 03c200b932
2 changed files with 7 additions and 50 deletions

View File

@@ -29,11 +29,6 @@ export async function startProxy(
const worker = new Worker(
path.resolve(__dirname, "..", "..", "worker", "proxy_server.js"),
{
env: {
...process.env, // inherit parent env
TARGET_URL: targetOrigin,
},
workerData: {
targetOrigin,
port,