mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-22 00:00:50 +00:00
fix: allow ssl push on selected node (#13165)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user