diff --git a/vscode/rootfs/etc/nginx/lua/ha-auth.lua b/vscode/rootfs/etc/nginx/lua/ha-auth.lua index 4c9ca91..998b509 100644 --- a/vscode/rootfs/etc/nginx/lua/ha-auth.lua +++ b/vscode/rootfs/etc/nginx/lua/ha-auth.lua @@ -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 = {