summaryrefslogtreecommitdiff
path: root/config/initializers
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-05-27 22:41:09 -0600
committerHombreLaser <sebastian-440@live.com>2023-05-27 22:41:09 -0600
commite5f0f1808fb6401254299f7a920d21c3cd936c66 (patch)
tree5a210c7338e2ec82c8e8a9e406b8100a37660ae6 /config/initializers
parent332feb3066c7e0fd497311424ffe12c557f49fdd (diff)
Actualiza polĂ­ticas CORS
Diffstat (limited to 'config/initializers')
-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 bb5216b..0e2b530 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'
+ origins 'localhost:5173', '127.0.0.1:5173', 'silosneeded.com'
resource '*', headers: :any, methods: %i[get post put patch delete options head]
end