jbesomi / notionGPT

Notion + ChatGPT = 🔥
https://notiongpt.jbesomi.com
ISC License
27 stars 1 forks source link

Refused to set unsafe header "User-Agent" #2

Open jrepusseau opened 1 year ago

jrepusseau commented 1 year ago

Hi there! I found out the same issue on Chome/Firefox which is 'Refused to set unsafe header "User-Agent"' After digging it seems related to calling OpenAI from the frontend / client-side instead of the secure backend / server-side (reference here: https://github.com/openai/openai-node/issues/6). Otherwise thanks a lot for the project, its look really promising!

jbesomi commented 1 year ago

Hey Jules, thank you for opening the issue. Would you mind opening a PR that solve the issue? Thanks!