fix: allow ssl push on selected node (#13165)

This commit is contained in:
ssongliu
2026-07-01 17:04:00 +08:00
committed by GitHub
parent 5a49579ddf
commit 34bdff01ad
3 changed files with 2 additions and 16 deletions
-7
View File
@@ -1926,13 +1926,6 @@
"formatZH": "同步节点镜像",
"formatEN": "sync images"
},
"/core/xpack/exchange/ssl": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "同步节点 SSL 证书",
"formatEN": "sync SSL certificates"
},
"/core/xpack/nodes": {
"bodyKeys": [
"name"
-7
View File
@@ -1926,13 +1926,6 @@
"formatZH": "同步节点镜像",
"formatEN": "sync images"
},
"/core/xpack/exchange/ssl": {
"bodyKeys": [],
"paramKeys": [],
"beforeFunctions": [],
"formatZH": "同步节点 SSL 证书",
"formatEN": "sync SSL certificates"
},
"/core/xpack/nodes": {
"bodyKeys": [
"name"
+2 -2
View File
@@ -148,8 +148,8 @@ export const updateSSL = (req: Website.SSLUpdate) => {
return http.post<any>(`/websites/ssl/update`, req);
};
export const pushSSLToNode = (req: Website.SSLPush) => {
return http.post<any>(`/websites/ssl/push`, req);
export const pushSSLToNode = (req: Website.SSLPush, currentNode?: string) => {
return http.post<any>(`/websites/ssl/push`, req, undefined, currentNode ? { CurrentNode: currentNode } : undefined);
};
export const getDnsResolve = (req: Website.DNSResolveReq) => {