初步添加ea2
This commit is contained in:
+1
-1
@@ -44,4 +44,4 @@ export const getNamespaceInfo = async () => {
|
||||
} catch (error) {
|
||||
throw new Error(error.response?.data?.message || "获取命名空间信息失败");
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
@@ -23,7 +23,6 @@ export const kvServerProvider = {
|
||||
async loadNamespaceInfo() {
|
||||
try {
|
||||
// 使用 Classworks Cloud 或者用户配置的服务器域名
|
||||
const provider = getSetting("server.provider");
|
||||
const serverUrl = getSetting("server.domain");
|
||||
|
||||
const res = await axios.get(`${serverUrl}/kv/_info`, {
|
||||
|
||||
Reference in New Issue
Block a user