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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user