1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 00:54:39 -05:00

change /discover to /app :3

This commit is contained in:
Ashley 2023-06-13 18:31:10 +00:00
parent 6595ce7e05
commit b5d4361686

View file

@ -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)}`;