mirror of
https://github.com/documize/community.git
synced 2025-07-19 05:09:42 +02:00
Merge pull request #375 from dimoonster/master
Proxy support when communicate with plantuml
This commit is contained in:
commit
4a7d915ebb
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ func (p *Provider) generateDiagram(ctx *provider.Context, data string) string {
|
|||
org, _ := p.Store.Organization.GetOrganization(ctx.Request, ctx.OrgID)
|
||||
|
||||
var transport = &http.Transport{
|
||||
Proxy: http.ProxyFromEnvironment,
|
||||
TLSClientConfig: &tls.Config{
|
||||
InsecureSkipVerify: true, // TODO should be glick.InsecureSkipVerifyTLS (from -insecure flag) but get error: x509: certificate signed by unknown authority
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue