add atob owo

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

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("/");