mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
compliance: cleanup compliance test code
zot ci/cd tests are too stict, so separate and relax them for compliance tests. Location header is set in some cases, but some clarification is needed in URL construction. Fix some incorrect compliance tests.
This commit is contained in:
@@ -42,6 +42,7 @@ func (c *Controller) Run() error {
|
||||
handlers.PrintRecoveryStack(false)))
|
||||
|
||||
c.Router = engine
|
||||
c.Router.UseEncodedPath()
|
||||
_ = NewRouteHandler(c)
|
||||
|
||||
c.ImageStore = storage.NewImageStore(c.Config.Storage.RootDirectory, c.Log)
|
||||
|
||||
Reference in New Issue
Block a user