mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-25 20:48:38 +01:00
remove web for now
This commit is contained in:
parent
2ddf6f2a52
commit
04ddaaabf2
1 changed files with 4 additions and 0 deletions
|
@ -171,6 +171,7 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get("/web", async (req, res) => {
|
app.get("/web", async (req, res) => {
|
||||||
|
/*
|
||||||
const query = req.query.query;
|
const query = req.query.query;
|
||||||
const tab = req.query.tab;
|
const tab = req.query.tab;
|
||||||
|
|
||||||
|
@ -234,6 +235,9 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
console.error(`Error while searching for '${query}':`, error);
|
console.error(`Error while searching for '${query}':`, error);
|
||||||
res.redirect("/");
|
res.redirect("/");
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
res.redirect("/");
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get("/channel/", async (req, res) => {
|
app.get("/channel/", async (req, res) => {
|
||||||
|
|
Loading…
Reference in a new issue