Open KenjiPcx opened 19 hours ago
Hi @KenjiPcx, you can now directly access the chat UI using the backend address, like http://localhost:8000, so it should work without any CORS issues!
yes, @KenjiPcx we removed that on purpose, what's your use case for using CORS?
Oh I see I've been accessing the frontend through localhost:3000 and it was throwing errors
Did anything change with logging too? I can only see the logs of the backend starting and restarting but unable to view logs from anywhere else 😔
Issue
CORS seems to be missing when generating the NextJs frontend with a FastAPI backend.
Reproduction Steps
Fix
Just need to add CORS back. Would've created a PR to fix this, but am held up today, so just reporting the issue here for now :)