agentic icon indicating copy to clipboard operation
agentic copied to clipboard

Front-end cross-domain

Open JACK-ZHANG-coming opened this issue 2 years ago • 0 comments

hi ,I'm use react.js build,but show a CORS error :

Access to fetch at 'https://chat.openai.com/api/auth/session' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

JACK-ZHANG-coming avatar Dec 08 '22 16:12 JACK-ZHANG-coming