mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-26 02:51:07 +01:00
feat(auth): add GET endpoint for logout and update documentation
This commit is contained in:
@@ -56,6 +56,7 @@ func NewHandler() *gin.Engine {
|
||||
v1Auth.GET("/callback", authApi.Callback)
|
||||
v1Auth.POST("/callback", authApi.Callback)
|
||||
v1Auth.POST("/logout", authApi.Logout)
|
||||
v1Auth.GET("/logout", authApi.Logout)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user