Closed fluviusmagnus closed 3 months ago
Thanks very much, can you add such CORS config to webserver/configs/settings.py?
Then we can config this by env for different domain instead of modifying source code, what do you think
I have exposed only the origins list to the server settings. Do you think this is enough?
Description
Some LLM clients may not interact with the server flawlessly because of the CORS error. Wildcards are thus used to prevent this.
Related Issues
None.
Proposed Changes
No more CORS errors.
Checklist
Additional Notes
I am quite new to this. Not sure if this is done safely and correctly.