mirror of
https://codeberg.org/ashley/poke
synced 2025-04-06 09:38:00 +00:00
change /discover to /app :3
This commit is contained in:
parent
6595ce7e05
commit
b5d4361686
@ -29,7 +29,7 @@ function getJson(str) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
module.exports = function (app, config, renderTemplate) {
|
module.exports = function (app, config, renderTemplate) {
|
||||||
app.get("/discover", async function (req, res) {
|
app.get("/app", async function (req, res) {
|
||||||
let tab = "";
|
let tab = "";
|
||||||
if (req.query.tab) {
|
if (req.query.tab) {
|
||||||
tab = `/?type=${capitalizeFirstLetter(req.query.tab)}`;
|
tab = `/?type=${capitalizeFirstLetter(req.query.tab)}`;
|
||||||
|
Loading…
Reference in New Issue
Block a user