How to allow requests to the FaceAPI web server from the several domains?

Issue:

I need to allow requests to the web server from several domains.

Solution:

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.

Example

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.

Was this article helpful?
0 out of 0 found this helpful

Comments

1 comment
Date Votes

Please sign in to leave a comment.

Articles in this section