Skip to content

Commit 2deebe3

Browse files
authored
Update repeatable options (#524)
1 parent 29a3dd4 commit 2deebe3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/pdfkit/wkhtmltopdf.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
class PDFKit
44
class WkHTMLtoPDF
55
attr_reader :options
6-
# Pulled from:
7-
# https://github.com/wkhtmltopdf/wkhtmltopdf/blob/ebf9b6cfc4c58a31349fb94c568b254fac37b3d3/README_WKHTMLTOIMAGE#L27
8-
REPEATABLE_OPTIONS = %w[--allow --cookie --custom-header --post --post-file --run-script].freeze
6+
# Pulled from:
7+
# https://github.com/wkhtmltopdf/wkhtmltopdf/blob/6a57c1449797d6cb915921fb747f3ac36199241f/docs/usage/wkhtmltopdf.txt#L104
8+
REPEATABLE_OPTIONS = %w[--allow --bypass-proxy-for --cookie --custom-header --post --post-file --run-script --replace].freeze
99
SPECIAL_OPTIONS = %w[cover toc].freeze
1010

1111
def initialize(options)

0 commit comments

Comments
 (0)