lib/timber/log_devices/http.rb in timber-1.0.4 vs lib/timber/log_devices/http.rb in timber-1.0.5
- old
+ new
@@ -6,10 +6,10 @@
# The buffer and delivery strategy are very efficient and the log messages will be delivered in
# msgpack format.
#
# See {#initialize} for options and more details.
class HTTP
- API_URI = URI.parse("https://api.timber.io/http_frames")
+ API_URI = URI.parse("https://logs.timber.io/frames")
CONTENT_TYPE = "application/x-timber-msgpack-frame-1".freeze
CONNECTION_HEADER = "keep-alive".freeze
USER_AGENT = "Timber Ruby Gem/#{Timber::VERSION}".freeze
HTTPS = Net::HTTP.new(API_URI.host, API_URI.port).tap do |https|
https.use_ssl = true
\ No newline at end of file