This commit is contained in:
Nicolas Bally 2020-04-06 10:55:48 +02:00
parent 2048897483
commit 3e15166b50
2 changed files with 2 additions and 2 deletions

View File

@ -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")

View File

@ -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