mirror of
https://github.com/praveentcom/openproxy.git
synced 2026-02-12 14:02:46 +00:00
refactor: remove redundant provider information from log data in proxy request
This commit is contained in:
3
proxy.ts
3
proxy.ts
@@ -189,8 +189,7 @@ const server = http.createServer(async (req, res) => {
|
|||||||
request_body: requestJson,
|
request_body: requestJson,
|
||||||
response_body: responseBody,
|
response_body: responseBody,
|
||||||
response_status: upstreamRes.status,
|
response_status: upstreamRes.status,
|
||||||
provider_url: UPSTREAM_URL,
|
provider_url: UPSTREAM_URL
|
||||||
provider: "Upstream",
|
|
||||||
};
|
};
|
||||||
|
|
||||||
logToPG(logData).catch(err => console.error("PG log error:", err));
|
logToPG(logData).catch(err => console.error("PG log error:", err));
|
||||||
|
|||||||
Reference in New Issue
Block a user