mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 05:14:39 -05: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) {
|
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 a new issue