mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-16 20:32:13 +01:00
adding form field web fonts timeout
This commit is contained in:
@@ -88,6 +88,11 @@ func (markdown *MarkdownRequest) SetLandscape(isLandscape bool) {
|
||||
markdown.values[landscape] = strconv.FormatBool(isLandscape)
|
||||
}
|
||||
|
||||
// SetWebFontsTimeout sets webFontsTimeout form field.
|
||||
func (markdown *MarkdownRequest) SetWebFontsTimeout(timeout int64) {
|
||||
markdown.values[webFontsTimeout] = strconv.FormatInt(timeout, 10)
|
||||
}
|
||||
|
||||
func (markdown *MarkdownRequest) getPostURL() string {
|
||||
return "/convert/markdown"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user