mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
parent
66003dac21
commit
af9bc25660
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ func (p *Provider) generateDiagram(ctx *provider.Context, data string) string {
|
|||
}}
|
||||
client := &http.Client{Transport: transport}
|
||||
|
||||
resp, _ := client.Post(org.ConversionEndpoint+"/api/plantuml", "application/text", bytes.NewReader([]byte(data)))
|
||||
resp, _ := client.Post(org.ConversionEndpoint+"/api/plantuml", "application/text; charset=utf-8", bytes.NewReader([]byte(data)))
|
||||
defer func() {
|
||||
if e := resp.Body.Close(); e != nil {
|
||||
fmt.Println("resp.Body.Close error: " + e.Error())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue