Compare commits

..

1 Commits

2 changed files with 9 additions and 10 deletions

View File

@ -1,6 +1,6 @@
import axios from 'axios';
let baseURL = 'https://gitee.com/monkeyWang/rubickdatabase/raw/master';
let baseURL = 'https://gitcode.net/rubickcenter/rubick-database/-/raw/master';
let access_token = '';
try {
@ -23,10 +23,9 @@ export default {
if (access_token) {
targetPath = `${encodeURIComponent(
targetPath
)}?access_token=${access_token}&ref=master`;
)}/raw?access_token=${access_token}&ref=master`;
}
const res = await instance.get(targetPath);
console.log('total plugsin', res);
return res.data;
},
@ -35,7 +34,7 @@ export default {
if (access_token) {
targetPath = `${encodeURIComponent(
targetPath
)}?access_token=${access_token}&ref=master`;
)}/raw?access_token=${access_token}&ref=master`;
}
const res = await instance.get(targetPath);
return res.data;
@ -46,7 +45,7 @@ export default {
if (access_token) {
targetPath = `${encodeURIComponent(
targetPath
)}?access_token=${access_token}&ref=master`;
)}/raw?access_token=${access_token}&ref=master`;
}
const res = await instance.get(targetPath);
return res.data;
@ -56,7 +55,7 @@ export default {
if (access_token) {
targetPath = `${encodeURIComponent(
targetPath
)}?access_token=${access_token}&ref=master`;
)}/raw?access_token=${access_token}&ref=master`;
}
const res = await instance.get(targetPath);
return res.data;
@ -72,7 +71,7 @@ export default {
if (access_token) {
targetPath = `${encodeURIComponent(
targetPath
)}?access_token=${access_token}&ref=master`;
)}/raw?access_token=${access_token}&ref=master`;
}
const res = await instance.get(targetPath);
return res.data;
@ -82,7 +81,7 @@ export default {
if (access_token) {
targetPath = `${encodeURIComponent(
targetPath
)}?access_token=${access_token}&ref=master`;
)}/raw?access_token=${access_token}&ref=master`;
}
const res = await instance.get(targetPath);
return res.data;
@ -92,7 +91,7 @@ export default {
if (access_token) {
targetPath = `${encodeURIComponent(
targetPath
)}?access_token=${access_token}&ref=master`;
)}/raw?access_token=${access_token}&ref=master`;
}
const res = await instance.get(targetPath);
return res.data;

View File

@ -1,6 +1,6 @@
{
"name": "rubick",
"version": "4.2.9",
"version": "4.2.7",
"author": "muwoo <2424880409@qq.com>",
"private": true,
"scripts": {