fix: use variable bucket name

This commit is contained in:
Akane 2023-12-05 15:13:30 +08:00 committed by GitHub
parent 399cf2dc97
commit be75a7b1b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ module.exports = async (query, request) => {
try {
const lbs = (await axios({
method: 'get',
url: 'https://wanproxy.127.net/lbs?version=1.0&bucketname=jd-musicrep-privatecloud-audio-public',
url: `https://wanproxy.127.net/lbs?version=1.0&bucketname=${bucket}`,
})).data;
await axios({
method: 'post',