Hi 

I am trying to import polymer2.0 webcomponent html files from the bitbucket

Getting below error when i try to serve components created 

Imported resource from origin 'file://' has been blocked from loading by 
Cross-Origin Resource Sharing policy: Invalid response. Origin 'null' is 
therefore not allowed access.

I found that it is a CORS issue and HTML Imports follow the same 
restrictions as XHR:

But is there an option/workaround to import file from bitbucket/Git without 
using webserver

Imports are working fine for JS and CSS files from bitbucket/Git but not 
HTML files


Thanks
Sai

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/13526979-42d4-4f8d-b998-24125f5295e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to