summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-05-27 23:28:14 -0600
committerHombreLaser <sebastian-440@live.com>2023-05-27 23:28:14 -0600
commit9a5e4d0b957cfb10acce8f1becd1bd6bd4fd9005 (patch)
treeab78fc1859ec24a779c159df75650b690d3ddd51 /config
parente5f0f1808fb6401254299f7a920d21c3cd936c66 (diff)
Actualiza polĂ­ticas cors con nuevo dominio
Diffstat (limited to 'config')
-rw-r--r--config/initializers/cors.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/cors.rb b/config/initializers/cors.rb
index 0e2b530..c4ce61e 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'
+ origins 'localhost:5173', '127.0.0.1:5173', 'silosneeded.com', 'pia.silosneeded.com'
resource '*', headers: :any, methods: %i[get post put patch delete options head]
end