mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-11 10:07:53 +00:00
13 lines
392 B
Go
13 lines
392 B
Go
package server
|
|
|
|
import (
|
|
"github.com/containers/libpod/pkg/api/handlers"
|
|
"github.com/gorilla/mux"
|
|
)
|
|
|
|
func (s *APIServer) registerAuthHandlers(r *mux.Router) error {
|
|
r.Handle(VersionedPath("/auth"), s.APIHandler(handlers.UnsupportedHandler))
|
|
// Added non version path to URI to support docker non versioned paths
|
|
r.Handle("/auth", s.APIHandler(handlers.UnsupportedHandler))
|
|
return nil
|
|
}
|