mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
remove non-changes
This commit is contained in:
@@ -629,7 +629,7 @@ app.post("/generate_textgenerationwebui", jsonParser, async function (request, r
|
||||
else {
|
||||
const args = {
|
||||
body: JSON.stringify(request.body),
|
||||
headers: { "Content-Type": "application/json"},
|
||||
headers: { "Content-Type": "application/json" },
|
||||
signal: controller.signal,
|
||||
};
|
||||
|
||||
@@ -642,8 +642,8 @@ app.post("/generate_textgenerationwebui", jsonParser, async function (request, r
|
||||
console.log(data);
|
||||
return response_generate.send(data);
|
||||
} catch (error) {
|
||||
console.log("Error: %o", error);
|
||||
return response_generate.send({ error: true});
|
||||
console.log(error);
|
||||
return response_generate.send({ error: true });
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -697,7 +697,6 @@ app.post("/getchat", jsonParser, function (request, response) {
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
app.post("/getstatus", jsonParser, async function (request, response_getstatus = response) {
|
||||
if (!request.body) return response_getstatus.sendStatus(400);
|
||||
api_server = request.body.api_server;
|
||||
|
Reference in New Issue
Block a user