Skip to content

Commit

Permalink
暫時把 max 改成10000來顯示全部資訊
Browse files Browse the repository at this point in the history
  • Loading branch information
david0u0 committed Aug 26, 2017
1 parent d9e6df6 commit 4946431
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/article/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(",");
Expand Down
2 changes: 1 addition & 1 deletion src/board/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(",");
Expand Down

0 comments on commit 4946431

Please sign in to comment.