add cors
This commit is contained in:
2
Gemfile
2
Gemfile
@ -29,6 +29,8 @@ gem 'jbuilder', '~> 2.7'
|
||||
gem 'bootsnap', '>= 1.4.2', require: false
|
||||
gem 'rails_12factor', group: :production
|
||||
|
||||
gem 'rack-cors'
|
||||
|
||||
group :development, :test do
|
||||
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
||||
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
||||
|
Reference in New Issue
Block a user