mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 11:18:29 +01:00
add atob owo
This commit is contained in:
parent
a17df0bafe
commit
ccbf7924e1
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get("/api/redirect", async (req, res) => {
|
app.get("/api/redirect", async (req, res) => {
|
||||||
const red_url = req.query.u;
|
const red_url = atob(req.query.u);
|
||||||
|
|
||||||
if (!red_url) {
|
if (!red_url) {
|
||||||
res.redirect("/");
|
res.redirect("/");
|
||||||
|
|
Loading…
Reference in a new issue