Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORS problem! #4

Closed
RitianWu opened this issue Mar 12, 2020 · 4 comments
Closed

CORS problem! #4

RitianWu opened this issue Mar 12, 2020 · 4 comments

Comments

@RitianWu
Copy link

So happy while seeing your repo, that's what I want!
However, it seems that my gitbook wiki page has a CORS error!

This is my configuration using self-hosted Gitlab:
image

And this is my error info:
image

@aleen42
Copy link
Owner

aleen42 commented Mar 12, 2020

GitLab should have set Access-Control-Allow-Origin: * header to allow /api/* requests, and please check your GitLab version, and I have successfully integrated with GitLab CE 11.7.5.

@aleen42
Copy link
Owner

aleen42 commented Mar 12, 2020

However, there are vulnerabilities of CORS if you host your GitLab in public. Find a way to set up a specified domain in such a case.

@RitianWu
Copy link
Author

Thanks a lot!!!
While my GitLab version is GitLab EE 12.7.6,I will check my GitLab configuration settings.
Thanks your suggestions again.

@RitianWu
Copy link
Author

However, there are vulnerabilities of CORS if you host your GitLab in public. Find a way to set up a specified domain in such a case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants