From 50ae9db640965872a67e4d27993a7a644eb74876 Mon Sep 17 00:00:00 2001 From: Tanmayi Manku Date: Wed, 13 Dec 2023 14:03:59 +0530 Subject: [PATCH] update the origins path --- config/initializers/cors.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/cors.rb b/config/initializers/cors.rb index 82a9efa..6a5e8ff 100644 --- a/config/initializers/cors.rb +++ b/config/initializers/cors.rb @@ -1,6 +1,6 @@ Rails.application.config.middleware.insert_before 0, Rack::Cors do allow do - origins 'http://localhost:4000' + origins 'http://localhost:3000' resource( '*', headers: :any,