-
Notifications
You must be signed in to change notification settings - Fork 22
Example has blank output #185
Comments
Chrome dev-tools says: Subresource Integrity: The resource 'file:////.../rustdoc/example/target/doc/assets/vendor-d41d8cd98f00b204e9800998ecf8427e.css' has an integrity attribute, but the resource requires the request to be CORS enabled to check the integrity, and it is not. The resource has been blocked because the integrity cannot be enforced. |
So I've found the culprit, it is not a static site... I need to run a webserver to open it: $ python -m SimpleHTTPServer PORT and then opening |
It should work without needing that. We should fix the integrity issue. |
Hmm, I had it working by running |
You shouldn't have to run npm start is the problem. npm start starts a server like SimpleHTTPServer to serve the docs. You should just navigate to it like rustdoc today. I swear we had another issue for this but I can't seem to find it. |
I'm not sure it's possible for this to work with file urls in Chrome. Running Chrome with |
ah, bummer. hmmm |
Is this an intrinsic problem with ember ? |
No, with Chrome not letting you ajax in a |
It's not just the XMLHttpRequest. The Subresource Integrity checks also fail, preventing any of the css/js from loading. I tried messing with setting I think it means commands like |
The readme says:
When I do that, the website is completely blank. This is the output:
The text was updated successfully, but these errors were encountered: