I need to allow requests to the web server from several domains.
You can specify various servers with FACEAPI_CORS_ORIGINS parameters, separating them with commas. No server is assigned by default, which means that the web browser allows requests to the web server from the same domain only.
FACEAPI_CORS_ORIGINS FACEAPI_CORS_ORIGINS (https://192.168.0.1:41101,https://192.168.21.10:41101,https://192.168.45.110:41101). You can also specify an alternative port if it's different from the default 41101.
Please sign in to leave a comment.