diff options
author | HombreLaser <sebastian-440@live.com> | 2023-05-28 10:54:32 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-05-28 10:54:32 -0600 |
commit | 3f41a26afdf95498790390dd9f34655c46f72388 (patch) | |
tree | 483e1b7a263acd3d89b6927d70d51898748becd4 /config/initializers | |
parent | 9a5e4d0b957cfb10acce8f1becd1bd6bd4fd9005 (diff) |
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/cors.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |