From 959d61572e8c6646f4f65bce61a93732aeecd061 Mon Sep 17 00:00:00 2001 From: Kyrylo Silin Date: Mon, 16 Nov 2020 13:19:08 +0800 Subject: [PATCH] config: change default remote host to notifier-configs.airbrake.io --- CHANGELOG.md | 2 ++ lib/airbrake-ruby/config.rb | 2 +- spec/config_spec.rb | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 81c4af54..fcbb6b56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ Airbrake Ruby Changelog * Remote config: improved handling of responses that return HTML (they will be logged correctly) ([#627](https://github.com/airbrake/airbrake-ruby/pull/627), [#628](https://github.com/airbrake/airbrake-ruby/pull/628)) +* Remote config: change default host to `https://notifier-configs.airbrake.io` + ([#629](https://github.com/airbrake/airbrake-ruby/pull/629)) ### [v5.1.0][v5.1.0] (October 20, 2020) diff --git a/lib/airbrake-ruby/config.rb b/lib/airbrake-ruby/config.rb index 2cfe9c2d..b4e2f452 100644 --- a/lib/airbrake-ruby/config.rb +++ b/lib/airbrake-ruby/config.rb @@ -153,7 +153,7 @@ def initialize(user_config = {}) self.project_key = user_config[:project_key] self.error_host = 'https://api.airbrake.io' self.apm_host = 'https://api.airbrake.io' - self.remote_config_host = 'https://v1-production-notifier-configs.s3.amazonaws.com' + self.remote_config_host = 'https://notifier-configs.airbrake.io' self.ignore_environments = [] diff --git a/spec/config_spec.rb b/spec/config_spec.rb index e54e13ee..845aeee9 100644 --- a/spec/config_spec.rb +++ b/spec/config_spec.rb @@ -28,7 +28,7 @@ its(:error_notifications) { is_expected.to eq(true) } its(:remote_config_host) do - is_expected.to eq('https://v1-production-notifier-configs.s3.amazonaws.com') + is_expected.to eq('https://notifier-configs.airbrake.io') end describe "#new" do