add atob owo

This commit is contained in:
Ashley 2023-03-04 16:31:49 +00:00
parent da3bffcbf5
commit ab5722cff9

View file

@ -137,7 +137,7 @@ module.exports = function (app, config, renderTemplate) {
});
app.get("/api/redirect", async (req, res) => {
const red_url = req.query.u;
const red_url = atob(req.query.u);
if (!red_url) {
res.redirect("/");