Colab fix

This commit is contained in:
Ash
2023-02-02 00:19:01 +04:00
parent 95a2c736cf
commit 4ae387be93
2 changed files with 9 additions and 11 deletions

View File

@@ -503,10 +503,10 @@ app.post("/getbackgrounds", jsonParser, function(request, response){
});
app.post("/iscolab", jsonParser, function(request, response){
let send_data = false;
if(String(process.env.colaburl).trim() !== undefined){
if(process.env.colaburl !== undefined){
send_data = String(process.env.colaburl).trim();
}
response.send({is_colab:send_data});
response.send({colaburl:send_data});
});
app.post("/getuseravatars", jsonParser, function(request, response){