mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-26 19:11:08 +01:00
fix(agent): typo for /distribution endpoint and update related configurations
This commit is contained in:
@@ -97,8 +97,8 @@ func NewDockerHandler() http.Handler {
|
||||
if env.DockerConfigs {
|
||||
allowedPaths = append(allowedPaths, "/configs")
|
||||
}
|
||||
if env.DockerDistributions {
|
||||
allowedPaths = append(allowedPaths, "/distributions")
|
||||
if env.DockerDistribution {
|
||||
allowedPaths = append(allowedPaths, "/distribution")
|
||||
}
|
||||
if env.DockerEvents {
|
||||
allowedPaths = append(allowedPaths, "/events")
|
||||
|
||||
Reference in New Issue
Block a user