mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-27 12:46:03 +01:00
Merge pull request #923 from caicloud/signed-manifest-support
Add prettyjws in pattern for signed manifest support
This commit is contained in:
commit
4272d2e26f
@ -35,7 +35,7 @@ type NotificationHandler struct {
|
|||||||
beego.Controller
|
beego.Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
const manifestPattern = `^application/vnd.docker.distribution.manifest.v\d\+json`
|
const manifestPattern = `^application/vnd.docker.distribution.manifest.v\d\+(json|prettyjws)`
|
||||||
|
|
||||||
// Post handles POST request, and records audit log or refreshes cache based on event.
|
// Post handles POST request, and records audit log or refreshes cache based on event.
|
||||||
func (n *NotificationHandler) Post() {
|
func (n *NotificationHandler) Post() {
|
||||||
|
Loading…
Reference in New Issue
Block a user