theintern / intern-tutorial

Learn how to use Intern by following this tutorial!
http://theintern.io
144 stars 44 forks source link

use "file" protocol for serverless client #1

Closed xMartin closed 11 years ago

csnover commented 11 years ago

File URIs are incredibly security restricted in order to avoid leaking data from the local filesystem. These restrictions are more severe than even normal SOP which can be loosened using CORS. Intern might work with a file URI, but it is not tested and it is not supported. Our policy is that you must have a working Web server.

xMartin commented 11 years ago

Ok. But in my opinion this is not clear in the description. I guess it is correct and implicitly said by using "http://" but "path/to" is a bit confusing as this is usually used for local paths, no server given. Wouldn't hurt to add a sentence about that.