mirror of
https://codeberg.org/ashley/poke
synced 2026-03-03 13:53:44 +00:00
change /discover to /app :3
This commit is contained in:
@@ -29,7 +29,7 @@ function getJson(str) {
|
||||
}
|
||||
|
||||
module.exports = function (app, config, renderTemplate) {
|
||||
app.get("/discover", async function (req, res) {
|
||||
app.get("/app", async function (req, res) {
|
||||
let tab = "";
|
||||
if (req.query.tab) {
|
||||
tab = `/?type=${capitalizeFirstLetter(req.query.tab)}`;
|
||||
|
||||
Reference in New Issue
Block a user