Closed brunoamaral closed 3 years ago
Sadly its not working in both situations. Without httpAdminRoot there is a / to much and then you will get a 404
http://localhost:1880//z2m.....
But I have an idea. I will try and come back later.
Did you tried the following?
$.getJSON(window.location.pathname + 'z2m/devices/'...
It's much simpler and I think its doing the same.
Just tried it and it also works, I have sent a new commit.
this needs to be tested with and without the httpAdminRoot to make sure it works.
Related to #46