From 3b68ce2474a778cbc4458f1f25f6ee85245adc55 Mon Sep 17 00:00:00 2001 From: SylorHuang Date: Sat, 22 Jun 2019 15:07:06 +0800 Subject: [PATCH] fix bug --- config/initializers/pdfkit.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/initializers/pdfkit.rb b/config/initializers/pdfkit.rb index 168fc0c1e..bb562f473 100644 --- a/config/initializers/pdfkit.rb +++ b/config/initializers/pdfkit.rb @@ -6,8 +6,9 @@ PDFKit.configure do |config| dpi: 300, debug_javascript: true, javascript_delay: 500, - stop_slow_scripts:false, - no_stop_slow_scripts: true + quiet: false + # stop_slow_scripts:false, + # no_stop_slow_scripts: true } end