Skip to content

Commit

Permalink
Another stab at fixing No Light
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilawal Hameed committed Apr 13, 2017
1 parent 1c23c4e commit eca7b2a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions no_light_sinatra.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
require_relative 'models/submission'

Airbrake.configure do |c|
c.project_id = 141503
c.project_key = '94823b6fc825a7bd16f6fc359d0ac501'
c.logger = NoLightSinatra.logger
c.ignore_environments = %w(test)
c.blacklist_keys = [/password/i]
end

class NoLightSinatra < Sinatra::Base
set public_folder: 'public', static: true

Expand All @@ -22,6 +14,14 @@ class NoLightSinatra < Sinatra::Base
}

MongoMapper.setup(ENVIRONMENTS, ENV['RACK_ENV'])

Airbrake.configure do |c|
c.project_id = 141503
c.project_key = '94823b6fc825a7bd16f6fc359d0ac501'
c.logger = NoLightSinatra.logger
c.ignore_environments = %w(test)
c.blacklist_keys = [/password/i]
end
end

configure :production do
Expand Down

0 comments on commit eca7b2a

Please sign in to comment.