revert april fools

This commit is contained in:
wukko
2023-04-02 21:53:23 +06:00
parent 8a214cf2a7
commit 35e89f30a4
2 changed files with 2 additions and 7 deletions

View File

@@ -111,8 +111,8 @@ if (fs.existsSync('./.env') && process.env.selfURL && process.env.streamSalt &&
res.status(j.status).json(j.body);
return;
} catch (e) {
res.status(500).json({ 'status': 'error', 'text': loc(languageCode(req), 'ErrorCantProcess') });
return;
res.destroy();
return
}
});