Skip to content

Commit

Permalink
fix: Disable TLS verification for api.sunrise-sunset.org
Browse files Browse the repository at this point in the history
fixes #33
  • Loading branch information
hferentschik committed Aug 8, 2022
1 parent e3fc966 commit b2921a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

TIMEZONE = ENV.fetch('TIMEZONE', 'GMT')

HTTParty::Basement.default_options.update(verify: false)

# The main App class
class App < Sinatra::Base
register Sinatra::Namespace
Expand Down

0 comments on commit b2921a4

Please sign in to comment.