🚑 reset the default database path

This commit is contained in:
Layyback
2022-06-01 00:25:45 +08:00
parent 900a568ddf
commit b43c2c0091
8 changed files with 9481 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
import axios from "axios";
let baseURL = "https://gitee.com/monkeyWang/rubick-database/raw/master";
let baseURL = "https://gitcode.net/rubickcenter/rubick-database/-/raw/master";
let access_token = "";
try {
@@ -12,7 +12,7 @@ try {
}
const instance = axios.create({
baseURL: baseURL || "https://gitee.com/monkeyWang/rubick-database/raw/master",
baseURL: baseURL || "https://gitcode.net/rubickcenter/rubick-database/-/raw/master",
});
export default {

View File

@@ -19,7 +19,7 @@
</a-form-item>
<a-form-item has-feedback label="database url" name="database">
<a-input
placeholder="https://gitee.com/monkeyWang/rubick-database/raw/master"
placeholder="https://gitcode.net/rubickcenter/rubick-database/-/raw/master"
v-model:value="formState.database"
/>
</a-form-item>
@@ -43,7 +43,7 @@ let _rev: any;
let defaultConfig = {
register: "https://registry.npm.taobao.org",
database: "https://gitee.com/monkeyWang/rubick-database/raw/master",
database: "https://gitcode.net/rubickcenter/rubick-database/-/raw/master",
access_token: "",
};
@@ -69,7 +69,7 @@ const layout = {
const resetForm = () => {
formState.value = {
register: "https://registry.npm.taobao.org",
database: "https://gitee.com/monkeyWang/rubick-database/raw/master",
database: "https://gitcode.net/rubickcenter/rubick-database/-/raw/master",
access_token: "",
};
};

9469
feature/yarn.lock Normal file

File diff suppressed because it is too large Load Diff