|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
PDFKit.configure do |config|
|
|
|
|
|
# config.wkhtmltopdf = ENV["WKHTMLTOPDF_EXEC"] || 'wkhtmltopdf'
|
|
|
|
|
config.wkhtmltopdf = ENV["WKHTMLTOPDF_EXEC"] || '/usr/bin/wkhtmltopdf'
|
|
|
|
|
config.wkhtmltopdf = ENV["WKHTMLTOPDF_EXEC"] || 'wkhtmltopdf'
|
|
|
|
|
# config.wkhtmltopdf = ENV["WKHTMLTOPDF_EXEC"] || '/usr/bin/wkhtmltopdf'
|
|
|
|
|
config.default_options = {
|
|
|
|
|
encoding: "UTF-8",
|
|
|
|
|
page_size: 'A4',
|
|
|
|
|