revert: drop POST /secret write support (back to read-only)
This commit is contained in:
1 parent
ad8d1298ae
commit
bb650d9acd
5 files changed
+14
-276
No files matched your search
@@ -122,7 +122,6 @@ func main() {
|
||||
api.Use(auth.Middleware(auth.NewStore(cfg.APIKeys)))
|
||||
|
||||
api.Get("/secret/:name", h.GetSecret)
|
||||
api.Post("/secret", h.CreateSecret)
|
||||
api.Post("/refresh", h.RefreshCache)
|
||||
|
||||
// Graceful shutdown.
|
||||
|
||||
Reference in new issue
Block a user