質問編集履歴

2

記述ミスを修正

2019/10/08 13:38

投稿

takuya_am
takuya_am

score0

test CHANGED
File without changes
test CHANGED
@@ -224,7 +224,7 @@
224
224
 
225
225
  Access to fetch at 'https://api.twitter.com/1.1/statuses/home_timeline.json?count=50'
226
226
 
227
- from origin 'http://160.16.100.114' has been blocked by CORS policy
227
+ from origin 'http://xxx.xx.xxx.xxx' has been blocked by CORS policy
228
228
 
229
229
  : Response to preflight request doesn't pass access control check
230
230
 

1

IPアドレスを伏字

2019/10/08 13:37

投稿

takuya_am
takuya_am

score0

test CHANGED
File without changes
test CHANGED
@@ -224,7 +224,7 @@
224
224
 
225
225
  Access to fetch at 'https://api.twitter.com/1.1/statuses/home_timeline.json?count=50'
226
226
 
227
- from origin 'http://xxx.xx.xxx.xxx' has been blocked by CORS policy
227
+ from origin 'http://160.16.100.114' has been blocked by CORS policy
228
228
 
229
229
  : Response to preflight request doesn't pass access control check
230
230
 
@@ -300,7 +300,7 @@
300
300
 
301
301
  // コード内容は適当です
302
302
 
303
- export async function fetchTwitter() => {
303
+ export aync function fetchTwitter() => {
304
304
 
305
305
  return await fetch(`https://api.twitter.com/1.1/statuses/home_timeline.json?count=20...hogehoge`);
306
306