mirror of
https://github.com/containers/podman.git
synced 2025-06-04 13:08:55 +08:00
14 lines
392 B
Go
14 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
|
|
}
|