Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

error running demos locally

#189

The XB PointStream demos run fine if used from a webpage, but they fail when run locally (without a web server). The problem is in psapi.js where around line 400:

AJAX.open("GET", path, true);

the following error is generated:

XMLHttpRequest cannot load file:///home/xxx/develop/XB-PointStream/clouds/lion_1048K_n.psi. Cross origin requests are only supported for HTTP.

Even when changing to code into

path='lion_1048K_n.psi'
AJAX.open("GET", path, true);

the code fails with the same error message.

Can the code be adapted such that local files can be used?

Reported by P · December 19th, 2012 @ 11:23 AM

State: new
Milestone: none
Assigned to: nobody

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.