mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 02:38:56 +01:00
add atob owo
This commit is contained in:
parent
da3bffcbf5
commit
ab5722cff9
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