Skip to content

Commit

Permalink
feat: support for RESEND_BASE_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
drish committed Jan 31, 2024
1 parent 0d5a4cb commit 2ce7fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resend/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module Resend
# This class is responsible for making the appropriate HTTP calls
# and raising the specific errors based on the response.
class Request
BASE_URL = "https://api.resend.com/"
BASE_URL = ENV["RESEND_BASE_URL"] || "https://api.resend.com/"

attr_accessor :body, :verb

Expand Down

0 comments on commit 2ce7fad

Please sign in to comment.