Open brzezinol opened 2 years ago
Changing line url: 'http://' + $(location).attr('hostname') + ':' + api_port + '/rest/all',
to url: '/rest/all',
fix problem because request will be made using current base addres. but of course author of this script shuld check what was intention of hardcode http.
the same situation with:
url: 'http://' + $(location).attr('hostname') + ':' + api_port + '/rest/' + device + '/' + circuit + '/',
I have a question about installing evok. I installed evok using this documentation https://github.com/UniPiTechnology/evok#legacy-installation-process-using-a-shell-script-required-for-unipi-11 There is, I assume link to latest vesion of evok "wget https://github.com/UniPiTechnology/evok/archive/2.4.12.zip" But after install I discover that https is not handled properly. http hardcoded is still in funtion:
Does mentioned documentation refers to latest version with fix from followin pull?
https://github.com/UniPiTechnology/evok/pull/78
Is there a easy fix or update for this issue ? Because I made a little big installation using evok.