start work on adding secrets
This commit is contained in:
2
main.go
2
main.go
@@ -47,7 +47,7 @@ func main() {
|
||||
protected := router.Group("/api/secret")
|
||||
protected.Use(middlewares.JwtAuthMiddleware())
|
||||
protected.GET("/retrieve", controllers.Retrieve)
|
||||
protected.POST("/store", controllers.Store)
|
||||
protected.POST("/store", controllers.StoreSecret)
|
||||
|
||||
// Initializing the server in a goroutine so that
|
||||
// it won't block the graceful shutdown handling below
|
||||
|
Reference in New Issue
Block a user