Skip to content

Commit 2109237

Browse files
committed
edit greover argument
1 parent 3a27d43 commit 2109237

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

config/initializers/grover.rb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,14 @@
1717

1818
unless Rails.env.development?
1919
options[:executable_path] = '/usr/bin/chromium'
20-
options[:launch_args] = ['--no-sandbox', '--disable-setuid-sandbox', '--disable-dev-shm-usage']
20+
options[:launch_args] = [
21+
'--no-sandbox',
22+
'--disable-setuid-sandbox',
23+
'--disable-dev-shm-usage',
24+
'--disable-gpu',
25+
'--disable-software-rasterizer',
26+
'--hide-scrollbars'
27+
]
2128
end
2229

2330
config.options = options

0 commit comments

Comments
 (0)