diff --git a/app/models/price_document.rb b/app/models/price_document.rb index acf8885..8b1a44d 100644 --- a/app/models/price_document.rb +++ b/app/models/price_document.rb @@ -227,7 +227,7 @@ class PriceDocument < ApplicationRecord @final_file = "#{Rails.root}/pdf/price_documents/#{doc_number}_temp2.pdf" @final_file2 = "#{Rails.root}/pdf/price_documents/#{doc_number}.pdf" - url = (Rails.env.development? ? "http://localhost:4000" : "http://lockaz.olwen.xyz").to_s+url + url = (Rails.env.development? ? "http://localhost:4000" : "http://lockaz.fr").to_s+url puts url pdf = ("pdf") diff --git a/config/environments/production.rb b/config/environments/production.rb index cd5605d..9ec1bbe 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -2,7 +2,7 @@ Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. - HOSTNAME="lockaz.olwen.xyz" + HOSTNAME="lockaz.fr" # Code is not reloaded between requests. config.cache_classes = true