diff --git a/src/article/router.js b/src/article/router.js index aee0cd0..c87e91b 100644 --- a/src/article/router.js +++ b/src/article/router.js @@ -31,7 +31,7 @@ router.post("/new", async function (req, res) { router.get("/browse", async function(req, res) { try { - let max = req.query.max || 20; + let max = req.query.max || 10000; let name = [], article_id = req.query.id; if (req.query.name) { name = req.query.name.split(","); diff --git a/src/board/router.js b/src/board/router.js index 5252768..956b199 100644 --- a/src/board/router.js +++ b/src/board/router.js @@ -5,7 +5,7 @@ let { recursiveGetBoard, getRootId } = require("../util/db_util.js"); router.get("/browse", async function(req, res) { try { - let max = Number(req.query.max) || 10; + let max = Number(req.query.max) || 10000; let names = []; if (req.query.name) { names = req.query.name.split(",");