mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
fix: unable to create a certificate from a second environment #273
This commit is contained in:
parent
abe43c5c4d
commit
2526d71c0e
5 changed files with 198 additions and 87 deletions
|
@ -11,7 +11,6 @@ func InitDNSCredentialRouter(r *gin.RouterGroup) {
|
|||
}
|
||||
|
||||
func InitCertificateRouter(r *gin.RouterGroup) {
|
||||
r.GET("domain/:name/cert", IssueCert)
|
||||
r.GET("certs", GetCertList)
|
||||
r.GET("cert/:id", GetCert)
|
||||
r.POST("cert", AddCert)
|
||||
|
@ -20,3 +19,7 @@ func InitCertificateRouter(r *gin.RouterGroup) {
|
|||
r.GET("certificate/dns_providers", GetDNSProvidersList)
|
||||
r.GET("certificate/dns_provider/:code", GetDNSProvider)
|
||||
}
|
||||
|
||||
func InitCertificateWebSocketRouter(r *gin.RouterGroup) {
|
||||
r.GET("domain/:name/cert", IssueCert)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue