When running local webui we are having #404 errors. The cause is that GET requests are generating pre-flight requests with method OPTIONS, which are not allowed by the server.
-It seems that the PCS_CORS_WHITELIST is not beeing considered correctly.
-Running the GET request from postman works fine.
-We tried to set CORS in docker-compose.yml file, but it also does not work
Type of issue
Description
When running local webui we are having #404 errors. The cause is that GET requests are generating pre-flight requests with method OPTIONS, which are not allowed by the server.
The server is running in --unsafe mode
Steps to reproduce
Expected behavior
Requests with method OPTIONS have to be accepted
Current behavior
Some additional information:
-It seems that the PCS_CORS_WHITELIST is not beeing considered correctly. -Running the GET request from postman works fine. -We tried to set CORS in docker-compose.yml file, but it also does not work
Known workarounds
None.
Possible solution
Maybe adjust NGINX config to allow the method.
Context and Environment
Screenshot