email_validation.rb 191 B

123456
  1. # if Rails.env.production?
  2. # c = Curl::Easy.perform('http://169.254.169.254/latest/meta-data/public-hostname')
  3. # $public_hostname = c.body_str
  4. # else
  5. $public_hostname = 'localhost'
  6. # end