From b48c9013aa790b28e3427257e0e62f419bce2ddc Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 27 Apr 2017 15:22:19 +0200 Subject: Bump version, improve how version is stored for better commit history (#2526) --- app/helpers/http_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/helpers') diff --git a/app/helpers/http_helper.rb b/app/helpers/http_helper.rb index 1e1ac8256..1697de746 100644 --- a/app/helpers/http_helper.rb +++ b/app/helpers/http_helper.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true module HttpHelper - USER_AGENT = "#{HTTP::Request::USER_AGENT} (Mastodon/#{Mastodon::VERSION}; +http://#{Rails.configuration.x.local_domain}/)" + USER_AGENT = "#{HTTP::Request::USER_AGENT} (Mastodon/#{Mastodon::Version}; +http://#{Rails.configuration.x.local_domain}/)" def http_client(options = {}) timeout = { write: 10, connect: 10, read: 10 }.merge(options) -- cgit