1
Fork 0

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