I have downloaded the Freematics Hub software for windows ver 0.9.9
I installed it and run it, when i run the simulator it says login failed, and the hub webgui says it is in maintenance mode when i try loggin in as a deviceid, saw in another post that that changing a line in config.js as follows fixes some issues
Code: Select all
from: const serverURL = window.require ? "http://localhost:8080/api/" : (window.location.href.indexOf("localhost") > 0 ? "/api/" : "hub/api/");
to: const serverURL = window.require ? "http://localhost:8080/api/" : (window.location.href.indexOf("localhost") > 0 ? "/api/" : "/api/");
Any help would be greatly appreciated, Thanks