Skip to content

Commit

Permalink
fixes to cors (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
AinleyP authored Feb 14, 2020
1 parent f98f22a commit 96ae66d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.development.local.template
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CORS_ORIGIN=http://localhost:5000
CORS_ORIGIN=http://localhost:3000
[email protected]
SEED_USER_PASSWORD=password
DEVISE_JWT_SECRET_KEY=super_secret_secret_key
2 changes: 1 addition & 1 deletion config/initializers/environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 96ae66d

Please sign in to comment.