progres
This commit is contained in:
2
main.go
2
main.go
@@ -46,7 +46,7 @@ func main() {
|
||||
// Get secrets
|
||||
protected := router.Group("/api/secret")
|
||||
protected.Use(middlewares.JwtAuthMiddleware())
|
||||
protected.GET("/retrieve", controllers.Retrieve)
|
||||
protected.GET("/retrieve", controllers.RetrieveSecret)
|
||||
protected.POST("/store", controllers.StoreSecret)
|
||||
|
||||
// Initializing the server in a goroutine so that
|
||||
|
Reference in New Issue
Block a user