From 2607c87c15363785ea171fe310632accfc26fda3 Mon Sep 17 00:00:00 2001 From: Hans362 Date: Wed, 10 Feb 2021 20:28:48 +0800 Subject: [PATCH] :sparkles: Re-design structure --- api/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/index.js b/api/index.js index 05a1984..2d271d7 100644 --- a/api/index.js +++ b/api/index.js @@ -56,7 +56,7 @@ function getsuccess(data, res) { res.send(data); } -app.get('/', (req, res) => { +app.get('/api', (req, res) => { const type = req.query.type || "1"; const pn = req.query.pn || "1"; const ps = req.query.ps || "10";