未验证 提交 8b4028cc 编写于 作者: S shaowenchen 提交者: GitHub

fix jenkins download (#2898)

Signed-off-by: Nshaowenchen <mail@chenshaowen.com>
上级 b5d9d29f
......@@ -687,7 +687,7 @@ func AddJenkinsToContainer(webservice *restful.WebService, devopsClient devops.I
return err
}
parse.Path = strings.Trim(parse.Path, "/")
webservice.Route(webservice.GET("/jenkins/{path:[*]}").
webservice.Route(webservice.GET("/jenkins/{path:*}").
Param(webservice.PathParameter("path", "Path stands for any suffix path.")).
To(func(request *restful.Request, response *restful.Response) {
u := request.Request.URL
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册