From e30eb4f6e35da08628e2e93e62f83fcfcbc632bc Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Fri, 28 Jun 2019 12:33:32 +0200 Subject: [PATCH] suite --- app/controllers/admin/p_customers_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/p_customers_controller.rb b/app/controllers/admin/p_customers_controller.rb index 018e50a..42000f7 100644 --- a/app/controllers/admin/p_customers_controller.rb +++ b/app/controllers/admin/p_customers_controller.rb @@ -187,7 +187,7 @@ class Admin::PCustomersController < ApplicationController - url = (Rails.env.development? ? "http://localhost:4000" : "http://3p.quartz.xyz").to_s+url + url = (Rails.env.development? ? "http://localhost:4000" : "http://shop.biocoton.net").to_s+url puts url pdf = "pdf" command = "node #{pdf}.js #{Shellwords.escape(url)} #{Shellwords.escape(@temp_file)}"