Freematics Hub - Windows Issues
Posted: Sun Jul 05, 2020 1:38 am
Hi,
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
Now i got the simulator to login, but as soon as i go to the webgui and put in the simulator deviceid, it says no such user, even though in the data directory the simulator deviceid's data is there.
Any help would be greatly appreciated, Thanks
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