質問編集履歴

2

2020/11/11 01:32

投稿

KazumaInoue
KazumaInoue

スコア10

test CHANGED
@@ -1 +1 @@
1
- RailsAPIでオリジンからアクセスを許可しようとした際のエラー解消方法
1
+ Rails uninitialized constant Rack::Cors (NameError) の解消
test CHANGED
File without changes

1

typo

2020/11/11 01:32

投稿

KazumaInoue
KazumaInoue

スコア10

test CHANGED
File without changes
test CHANGED
@@ -32,7 +32,7 @@
32
32
 
33
33
 
34
34
 
35
- +Rails.application.config.middleware.insert_before 0, Rack::Cors do
35
+ Rails.application.config.middleware.insert_before 0, Rack::Cors do
36
36
 
37
37
  allow do
38
38