mirror of
https://github.com/AuxXxilium/docker-ddns-server.git
synced 2024-11-23 14:50:59 +07:00
Merge pull request #20 from w3K-dot-co/patch-2
Fix 404 errors on updates
This commit is contained in:
commit
13861322cb
@ -98,7 +98,7 @@ func main() {
|
||||
updateRoute.GET("", h.UpdateIP)
|
||||
nicRoute := e.Group("/nic")
|
||||
nicRoute.Use(middleware.BasicAuth(h.AuthenticateUpdate))
|
||||
updateRoute.GET("/update", h.UpdateIP)
|
||||
nicRoute.GET("/update", h.UpdateIP)
|
||||
v2Route := e.Group("/v2")
|
||||
v2Route.Use(middleware.BasicAuth(h.AuthenticateUpdate))
|
||||
v2Route.GET("/update", h.UpdateIP)
|
||||
|
Loading…
Reference in New Issue
Block a user