mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Colab and any fix
This commit is contained in:
@@ -249,8 +249,8 @@ app.post("/getchat", jsonParser, function(request, response){
|
||||
});
|
||||
app.post("/getstatus", jsonParser, function(request, response_getstatus = response){
|
||||
if(!request.body) return response_getstatus.sendStatus(400);
|
||||
if(is_colab === true){
|
||||
api_server = '127.0.0.1:5000';
|
||||
if(is_colab == true){
|
||||
api_server = String(process.env.colaburl).trim();
|
||||
}else{
|
||||
api_server = request.body.api_server;
|
||||
}
|
||||
|
Reference in New Issue
Block a user