diff options
Diffstat (limited to 'app/controllers/proxy.go')
-rw-r--r-- | app/controllers/proxy.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/controllers/proxy.go b/app/controllers/proxy.go index 9e3ec13..0777c93 100644 --- a/app/controllers/proxy.go +++ b/app/controllers/proxy.go | |||
@@ -72,6 +72,9 @@ func (h *ProxyHandler) Handle(c echo.Context) error { | |||
72 | return c.NoContent(http.StatusUnauthorized) | 72 | return c.NoContent(http.StatusUnauthorized) |
73 | } | 73 | } |
74 | 74 | ||
75 | // TODO: Set Access-Control-Max-Age header if policy requires time-limited | ||
76 | // sessions then terminate the session once that timer expires | ||
77 | |||
75 | wsconn, err := h.Upgrader.Upgrade(c.Response(), c.Request(), nil) | 78 | wsconn, err := h.Upgrader.Upgrade(c.Response(), c.Request(), nil) |
76 | if err != nil { | 79 | if err != nil { |
77 | return err | 80 | return err |