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

How to call javascrptapi out side of bimserver? #802

Closed
sathishsanthoshsusidhar opened this Issue Aug 11, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@sathishsanthoshsusidhar

sathishsanthoshsusidhar commented Aug 11, 2018

Hai,

I run BIMServer port8082 and i call js files my another web site but its not working. It shows below errors

"Access to Script at 'http://localhost:8082/apps/bimserverjavascriptapi/bimserverapipromise.js' from origin 'null' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'http://localhost:8082' that is not equal to the supplied origin. Origin 'null' is therefore not allowed access."

@sathishsanthoshsusidhar sathishsanthoshsusidhar changed the title from can't use javascrptapi out side of bimserver? to How to call javascrptapi out side of bimserver? Aug 11, 2018

@rubendel

This comment has been minimized.

Show comment
Hide comment
@rubendel

rubendel Aug 13, 2018

Member

This is a very generic error, not specific to BIMserver. Search for CORS in a search engine and you'll find an explanation.

Member

rubendel commented Aug 13, 2018

This is a very generic error, not specific to BIMserver. Search for CORS in a search engine and you'll find an explanation.

@rubendel rubendel closed this Sep 21, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment