mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-25 02:21:05 +01:00
feat(api): updated docker logs api
- Refactored docker logs endpoint to use container ID directly.
This commit is contained in:
@@ -122,7 +122,7 @@ func NewHandler() *gin.Engine {
|
||||
{
|
||||
docker.GET("/containers", dockerApi.Containers)
|
||||
docker.GET("/info", dockerApi.Info)
|
||||
docker.GET("/logs/:server/:container", dockerApi.Logs)
|
||||
docker.GET("/logs/:id", dockerApi.Logs)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user