fix: add missing route for codersdk.PostLogSource (#13421)

This commit is contained in:
Colin Adler authored and GitHub committed 2024-06-03 12:29:50 -05:00
1 parent 8cdd468107
commit 9d00a26a90
10 files changed
+269 -4

No files matched your search

+1 -1
View File
@@ -573,7 +573,7 @@ func (s *Server) proxyWorkspaceApp(rw http.ResponseWriter, r *http.Request, appT
}
// This strips the session token from a workspace app request.
cookieHeaders := r.Header.Values("Cookie")[:]
cookieHeaders := r.Header.Values("Cookie")
r.Header.Del("Cookie")
for _, cookieHeader := range cookieHeaders {
r.Header.Add("Cookie", httpapi.StripCoderCookies(cookieHeader))