mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-22 19:18:01 +02:00
mcp: storage scaffolding (#5581)
This commit is contained in:
parent
f1a9401ddc
commit
db221cb826
4 changed files with 68 additions and 8 deletions
|
@ -25,7 +25,7 @@ func (p *Proxy) registerDashboardHandlers(r *mux.Router, opts *config.Options) *
|
|||
h.Use(middleware.SetHeaders(httputil.HeadersContentSecurityPolicy))
|
||||
|
||||
// model context protocol
|
||||
h.PathPrefix("/mcp").Handler(p.mcp.HandlerFunc())
|
||||
h.PathPrefix("/mcp").Handler(p.mcp.Load().HandlerFunc())
|
||||
|
||||
// special pomerium endpoints for users to view their session
|
||||
h.Path("/").Handler(httputil.HandlerFunc(p.userInfo)).Methods(http.MethodGet)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue