diff --git a/app/views/portlets/render_public/_imagecontent.html.haml b/app/views/portlets/render_public/_imagecontent.html.haml index ea7005c..b36b62f 100644 --- a/app/views/portlets/render_public/_imagecontent.html.haml +++ b/app/views/portlets/render_public/_imagecontent.html.haml @@ -23,7 +23,7 @@ -else -url ="" --url = "http#{("" if Rails.env.production?)}://"+HOSTNAME+url +-url = "http#{("s" if Rails.env.production?)}://"+HOSTNAME+url -style = "" -style = "text-align:center;" if input.alignement == "center" diff --git a/config/environments/production.rb b/config/environments/production.rb index e5ae24b..7278010 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -77,7 +77,7 @@ Rails.application.configure do # Do not dump schema after migrations. config.active_record.dump_schema_after_migration = false - HOSTNAME="jipe.quartz.xyz" + HOSTNAME="jipe.fr" #config.action_mailer.delivery_method = :file config.action_mailer.default_url_options = { :host => HOSTNAME }