mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 18:51:23 +00:00
🔨 Updates HA Auth URL in NGinx LUA sccript
This commit is contained in:
parent
0239fe81d8
commit
8e64482ff6
1 changed files with 1 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue