You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by GitBox <gi...@apache.org> on 2022/05/19 13:53:33 UTC

[GitHub] [incubator-devlake] e2corporation commented on issue #1946: Do we need CORS for devlake api server?

e2corporation commented on issue #1946:
URL: https://github.com/apache/incubator-devlake/issues/1946#issuecomment-1131722156

   @klesh Yes you should need CORS, the API listens on `localhost:8080`, UI will listen on `localhost:4000` which is a different origin. Without CORS, the web browser should (and will) block all api requests to the lake api, unless that browser has cross-origin restrictions disabled, which would be insecure and not all browsers allow this option to be disabled.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org