tiktok images and crowdin

This commit is contained in:
wukko
2022-09-03 21:32:39 +06:00
parent 297c1ed116
commit 9ea832caf5
24 changed files with 313 additions and 269 deletions

View File

@@ -83,12 +83,12 @@ if (fs.existsSync('./.env')) {
let ip = req.header('x-forwarded-for') ? req.header('x-forwarded-for') : req.ip
stream(res, ip, req.query.t, req.query.h, req.query.e);
} else {
let j = apiJSON(0, { t: loc(languageCode(req), 'ErrorNoStreamID') })
let j = apiJSON(0, { t: "no stream id" })
res.status(j.status).json(j.body);
}
break;
default:
let j = apiJSON(0, { t: loc(languageCode(req), 'ErrorNoType') })
let j = apiJSON(0, { t: "wrong response type" })
res.status(j.status).json(j.body);
break;
}