mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-31 14:08:06 +08:00
feat: 增加证书续签的超时时间 (#2869)
This commit is contained in:
parent
70c0602970
commit
f60500791a
@ -121,7 +121,7 @@ export const ApplySSL = (req: Website.SSLApply) => {
|
||||
};
|
||||
|
||||
export const RenewSSL = (req: Website.SSLRenew) => {
|
||||
return http.post<any>(`/websites/ssl/renew`, req);
|
||||
return http.post<any>(`/websites/ssl/renew`, req, TimeoutEnum.T_10M);
|
||||
};
|
||||
|
||||
export const UpdateSSL = (req: Website.SSLUpdate) => {
|
||||
@ -129,7 +129,7 @@ export const UpdateSSL = (req: Website.SSLUpdate) => {
|
||||
};
|
||||
|
||||
export const GetDnsResolve = (req: Website.DNSResolveReq) => {
|
||||
return http.post<Website.DNSResolve[]>(`/websites/ssl/resolve`, req, TimeoutEnum.T_60S);
|
||||
return http.post<Website.DNSResolve[]>(`/websites/ssl/resolve`, req, TimeoutEnum.T_5M);
|
||||
};
|
||||
|
||||
export const GetHTTPSConfig = (id: number) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user