Skip to content

Commit

Permalink
configでprivate_address_checkを無効にした方がいいっぽい
Browse files Browse the repository at this point in the history
  • Loading branch information
204504bySE committed Jul 24, 2023
1 parent 4c4bbbd commit 4053a3c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,9 @@

config.x.otp_secret = ENV.fetch('OTP_SECRET')
end

module PrivateAddressCheck
def self.private_address?(*)
false
end
end

0 comments on commit 4053a3c

Please sign in to comment.