From 8e64482ff63ed216abc823a2319eae5a6dec1dcf Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 21 Aug 2019 20:04:53 +0200 Subject: [PATCH] :hammer: Updates HA Auth URL in NGinx LUA sccript --- vscode/rootfs/etc/nginx/lua/ha-auth.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {