From 3f41a26afdf95498790390dd9f34655c46f72388 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Sun, 28 May 2023 10:54:32 -0600 Subject: Añade dominio de app en políticas cors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/initializers/cors.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/initializers') diff --git a/config/initializers/cors.rb b/config/initializers/cors.rb index c4ce61e..7e42e36 100644 --- a/config/initializers/cors.rb +++ b/config/initializers/cors.rb @@ -8,7 +8,7 @@ Rails.application.config.middleware.insert_before 0, Rack::Cors do allow do - origins 'localhost:5173', '127.0.0.1:5173', 'silosneeded.com', 'pia.silosneeded.com' + origins 'localhost:5173', '127.0.0.1:5173', 'silosneeded.com', 'https://pia.silosneeded.com' resource '*', headers: :any, methods: %i[get post put patch delete options head] end -- cgit v1.2.3