Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Commit

Permalink
Force production environment, which disables stacktraces
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Claudius committed Sep 6, 2017
1 parent 4d140a8 commit bbfd6fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ssh_scan_api/api.rb
Expand Up @@ -250,6 +250,7 @@ def self.run!(options = {}, &block)
set :authenticator, SSHScan::Authenticator.from_config_file(
options["config_file"]
)
set :environment, :production
set :allowed_ports, options["allowed_ports"]
set :protection, false
end
Expand Down

0 comments on commit bbfd6fc

Please sign in to comment.