Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Constantize the default endpoint value
Browse files Browse the repository at this point in the history
kattrali committed Aug 11, 2017
1 parent cdb76ee commit ea727db
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
@@ -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,
@@ -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

0 comments on commit ea727db

Please sign in to comment.