You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that loading a local page would fail.
Example:
window.location = "app_host.html";
The error message is:
failed to open file file://E/:/David/Dev/www/fix_acdsee_db/app_host.html JavaException: java.net.UnknownHostException: E
This is because the URL of the file is wrong. It should be file:/// instead of file:// (notice the additional '/').
Here's a quick fix in xhr.js:
// if base is still empty, then we are in QA mode loading local
// files. Get current working directory
if (!base) {
base = 'file:///' + Envjs.getcwd() + '/';
}
I hope this helps.
Kayhadrin
The text was updated successfully, but these errors were encountered:
Hi there,
I've noticed that loading a local page would fail.
Example:
window.location = "app_host.html";
The error message is:
failed to open file file://E/:/David/Dev/www/fix_acdsee_db/app_host.html JavaException: java.net.UnknownHostException: E
This is because the URL of the file is wrong. It should be file:/// instead of file:// (notice the additional '/').
Here's a quick fix in xhr.js:
// if base is still empty, then we are in QA mode loading local
// files. Get current working directory
if (!base) {
base = 'file:///' + Envjs.getcwd() + '/';
}
I hope this helps.
Kayhadrin
The text was updated successfully, but these errors were encountered: