adding form field web fonts timeout

This commit is contained in:
Julien Neuhart
2019-02-01 09:40:16 +01:00
parent f9fb97a572
commit 571c3e04c4
12 changed files with 98 additions and 43 deletions

View File

@@ -47,5 +47,10 @@ func convertHTML(c echo.Context) error {
return hijackErr(err, r)
}
p.Landscape = landscape
chromeWebFontsTimeout, err := r.webFontsTimeout()
if err != nil {
return hijackErr(err, r)
}
p.WebFontsTimeout = chromeWebFontsTimeout
return print(c, p, r)
}