mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-24 04:48:05 +01:00
change /discover to /app :3
This commit is contained in:
parent
6595ce7e05
commit
b5d4361686
1 changed files with 1 additions and 1 deletions
|
@ -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)}`;
|
||||
|
|
Loading…
Reference in a new issue