diff --git a/.env.development.local.template b/.env.development.local.template index 190c497..75b2d57 100644 --- a/.env.development.local.template +++ b/.env.development.local.template @@ -1,4 +1,4 @@ -CORS_ORIGIN=http://localhost:5000 +CORS_ORIGIN=http://localhost:3000 SEED_USER_EMAIL=test@test.com SEED_USER_PASSWORD=password DEVISE_JWT_SECRET_KEY=super_secret_secret_key diff --git a/config/initializers/environment.rb b/config/initializers/environment.rb index 9c21adb..3224512 100644 --- a/config/initializers/environment.rb +++ b/config/initializers/environment.rb @@ -13,6 +13,6 @@ ENV['DB_ADAPTER_DEV'] = 'postgresql' ENV['DB_ENCODING_DEV'] = 'utf8' ENV['RAILS_MAX_THREADS_DEV'] = '5' - ENV['CORS_ORIGIN'] = 'http://localhost:5000' + ENV['CORS_ORIGIN'] = 'http://localhost:3000' ENV['DB_NAME_TEST'] = 'sdc_test' end