mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-26 11:01:07 +01:00
fix(api): renew endpoint uses get instead of post, correct @Accept docs
This commit is contained in:
@@ -87,7 +87,7 @@ func NewHandler() *gin.Engine {
|
||||
cert := v1.Group("/cert")
|
||||
{
|
||||
cert.GET("/info", certApi.Info)
|
||||
cert.POST("/renew", certApi.Renew)
|
||||
cert.GET("/renew", certApi.Renew)
|
||||
}
|
||||
|
||||
agent := v1.Group("/agent")
|
||||
|
||||
Reference in New Issue
Block a user