suite
This commit is contained in:
parent
a14fbd727c
commit
e56905a22e
@ -1,10 +1,10 @@
|
||||
|
||||
if Rails.env.production?
|
||||
WickedPdf.config = {
|
||||
:exe_path => "/usr/local/bin/wkhtmltopdf"
|
||||
:exe_path => "/usr/bin/xvfb-run -- /usr/local/bin/wkhtmltopdf"
|
||||
}
|
||||
else
|
||||
WickedPdf.config = {
|
||||
:exe_path => "/usr/bin/xvfb-run -- /usr/local/bin/wkhtmltopdf"
|
||||
:exe_path => "/usr/local/bin/wkhtmltopdf"
|
||||
}
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user