🔨 Updates HA Auth URL in NGinx LUA sccript

This commit is contained in:
Franck Nijhof 2019-08-21 20:04:53 +02:00
parent 0239fe81d8
commit 8e64482ff6
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3

View file

@ -31,7 +31,7 @@ function authenticate()
--- HTTP request against Hassio API
local httpc = http.new()
local res, err = httpc:request_uri("http://hassio/auth", {
local res, err = httpc:request_uri("http://supervisor.local.hass.io/auth", {
method = "POST",
body = ngx.encode_args({["username"]=username, ["password"]=password}),
headers = {