opensourceBIM / BCF-Forum

Server and forum to communicate on BIM issues. BCF 2.0 compatible.
35 stars 11 forks source link

CORS Filters #6

Open iyurrr opened 9 years ago

iyurrr commented 9 years ago

From the previous post (http://support.opensourcebim.org/hc/communities/public/questions/203817115-BIM-Model-is-not-being-visualized-in-BC-forum). Seems, that I can't get model in BCF because my CORS filters aren't set properly. This is config:

CorsFilter org.apache.catalina.filters.CorsFilter cors.allowed.origins * cors.allowed.methods GET, POST, PUT, DELETE, OPTIONS cors.allowed.headers Content-Type, Accept, X-Requested-With, Authorization cors.exposed.headers Access-Control-Allow-Origin,Access-Control-Allow-Credentials cors.support.credentials true CorsFilter /*

I've used documentation from https://github.com/BuildingSMART/BCF-API to setup my config, but this still doesn't work for me.