Skip to content

Commit

Permalink
Fix proxy connection setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Sep 13, 2024
1 parent fc4b130 commit a6e9f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fixtures/cloudflare/a_connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module Cloudflare
if proxy_url = PROXY_URL
proxy_endpoint = Async::HTTP::Endpoint.parse(proxy_url)
@client = Async::HTTP::Client.new(proxy_endpoint)
@connection = Cloudflare.connect(@client.proxied_endpoint(ENDPOINT), email: AUTH_EMAIL, key: AUTH_KEY)
@connection = Cloudflare.connect(@client.proxied_endpoint(Connection::ENDPOINT), email: AUTH_EMAIL, key: AUTH_KEY)
else
@client = nil
@connection = Cloudflare.connect(email: AUTH_EMAIL, key: AUTH_KEY)
Expand Down

0 comments on commit a6e9f96

Please sign in to comment.