Skip to content

Commit

Permalink
Constantize the default endpoint value
Browse files Browse the repository at this point in the history
  • Loading branch information
kattrali committed Aug 11, 2017
1 parent 95b599d commit 03a1ebd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/bugsnag/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class Configuration

API_KEY_REGEX = /[0-9a-f]{32}/i
THREAD_LOCAL_NAME = "bugsnag_req_data"
DEFAULT_ENDPOINT = "https://notify.bugsnag.com"

DEFAULT_META_DATA_FILTERS = [
/authorization/i,
Expand All @@ -52,7 +53,7 @@ def initialize
self.send_code = true
self.meta_data_filters = Set.new(DEFAULT_META_DATA_FILTERS)
self.ignore_classes = Set.new([])
self.endpoint = "https://notify.bugsnag.com"
self.endpoint = DEFAULT_ENDPOINT
self.hostname = default_hostname
self.delivery_method = :thread_queue
self.timeout = 15
Expand Down

0 comments on commit 03a1ebd

Please sign in to comment.