mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
Fix MITM
This commit is contained in:
@@ -140,7 +140,6 @@ async function passthrough(req, res, bodyBuffer) {
|
||||
async function intercept(req, res, bodyBuffer, mappedModel) {
|
||||
try {
|
||||
const body = JSON.parse(bodyBuffer.toString());
|
||||
console.log("🚀 ~ intercept ~ body:", body)
|
||||
body.model = mappedModel;
|
||||
|
||||
const response = await fetch(ROUTER_URL, {
|
||||
|
||||
Reference in New Issue
Block a user