1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-21 01:38:37 +00:00

Fix OCI manifest parser (#34797)

Do not parse the media type we don't know.
This commit is contained in:
wxiaoguang
2025-06-21 00:27:35 +08:00
committed by GitHub
parent 4f32d32812
commit 719b151058
4 changed files with 34 additions and 28 deletions

View File

@@ -693,6 +693,8 @@ func ContainerRoutes() *web.Router {
&container.Auth{},
})
// TODO: Content Discovery / References (not implemented yet)
r.Get("", container.ReqContainerAccess, container.DetermineSupport)
r.Group("/token", func() {
r.Get("", container.Authenticate)