mirror of https://github.com/coder/coder.git
fix: Handle all method types for app proxying (#2868)
All methods need to be accepted on app routes. Some apps may POST (like Jupyter).
This commit is contained in:
parent
8589eb693a
commit
52fa1f2464
|
@ -124,7 +124,7 @@ func New(options *Options) *API {
|
|||
apiKeyMiddleware,
|
||||
httpmw.ExtractUserParam(api.Database),
|
||||
)
|
||||
r.Get("/*", api.workspaceAppsProxyPath)
|
||||
r.HandleFunc("/*", api.workspaceAppsProxyPath)
|
||||
}
|
||||
// %40 is the encoded character of the @ symbol. VS Code Web does
|
||||
// not handle character encoding properly, so it's safe to assume
|
||||
|
|
Loading…
Reference in New Issue