From 3e15166b50b50deeee632faf0b28079a5da7f123 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Mon, 6 Apr 2020 10:55:48 +0200 Subject: [PATCH] suite --- app/models/price_document.rb | 2 +- config/environments/production.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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