Skip to content

Commit

Permalink
Merge pull request #927 from bullet-train-co/jeremy/better-heroku-det…
Browse files Browse the repository at this point in the history
…ection

Imporoved Heroku Detection
  • Loading branch information
jagthedrummer authored Oct 18, 2024
2 parents 00fdeb2 + bbfb46f commit 7e0addd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bullet_train/lib/bullet_train.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def default_url_options_from_base_url
end

def heroku?
ENV["PATH"]&.include?("/app/.heroku/")
ENV["HEROKU_APP_NAME"].present?
end

def inbound_email_enabled?
Expand Down

0 comments on commit 7e0addd

Please sign in to comment.