debugging

This commit is contained in:
me 2025-03-15 12:08:26 +02:00
parent 50a34b5ea8
commit 5b60b9c4d2

View File

@ -32,6 +32,7 @@ router.post('/:site/*', utils.limiter(20), (req, res) => {
// validation
const user_token = req.body.token;
const site = db.siteInfo(site_url);
console.log(site);
if (user_token !== site.info.comment_token) {
res.status(403).json("תשובת סינון שגויה.");