chore:打印baseUrl
This commit is contained in:
parent
07db42a346
commit
92d0c302a5
|
@ -47,6 +47,7 @@ router.post('/checkToken', async (req : Request, env : Env) => {
|
||||||
// list image
|
// list image
|
||||||
router.post('/list', auth, async (req: Request, env: Env) => {
|
router.post('/list', auth, async (req: Request, env: Env) => {
|
||||||
const BASE_URL = await env.XK.get('BASE_URL')
|
const BASE_URL = await env.XK.get('BASE_URL')
|
||||||
|
console.log("BASE_URL=" + BASE_URL)
|
||||||
const data = await req.json() as ImgReq
|
const data = await req.json() as ImgReq
|
||||||
if (!data.limit) {
|
if (!data.limit) {
|
||||||
data.limit = 10
|
data.limit = 10
|
||||||
|
|
Loading…
Reference in New Issue