mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
10 lines
285 B
Ruby
10 lines
285 B
Ruby
# frozen_string_literal: true
|
|
|
|
Grover.configure do |config|
|
|
config.options = {
|
|
cache: false,
|
|
executable_path: ENV['CHROMIUM_PATH'] || './bin/chromium',
|
|
launch_args: %w(--disable-dev-shm-usage --disable-gpu --no-sandbox),
|
|
timeout: Constants::GROVER_TIMEOUT_MS
|
|
}
|
|
end
|