質問編集履歴
2
記述ミスを修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -149,7 +149,7 @@
|
|
149
149
|
```js
|
150
150
|
|
151
151
|
// コード内容は適当です
|
152
|
-
export
|
152
|
+
export async function fetchTwitter() => {
|
153
153
|
return await fetch(`https://api.twitter.com/1.1/statuses/home_timeline.json?count=20...hogehoge`);
|
154
154
|
}
|
155
155
|
```
|
1
IPアドレスを伏字
title
CHANGED
File without changes
|
body
CHANGED
@@ -111,7 +111,7 @@
|
|
111
111
|
エラー内容
|
112
112
|
```console
|
113
113
|
Access to fetch at 'https://api.twitter.com/1.1/statuses/home_timeline.json?count=50'
|
114
|
-
from origin 'http://
|
114
|
+
from origin 'http://xxx.xx.xxx.xxx' has been blocked by CORS policy
|
115
115
|
: Response to preflight request doesn't pass access control check
|
116
116
|
: No 'Access-Control-Allow-Origin' header is present on the requested resource.
|
117
117
|
If an opaque response serves your needs,
|