mirror of
https://github.com/hassio-addons/addon-wireguard.git
synced 2025-05-04 19:01:31 +00:00
Content-Type - Headers are case-insensitive, but capital to each word is 'preferred'
This commit is contained in:
parent
20efdca243
commit
f940553f45
1 changed files with 1 additions and 1 deletions
|
@ -47,6 +47,6 @@ while true; do
|
|||
json=$(bashio::var.json "${peers[@]}")
|
||||
fi
|
||||
|
||||
echo -e "HTTP/1.1 200 OK\r\nContent-type: application/json\r\n\r\n${json}" \
|
||||
echo -e "HTTP/1.1 200 OK\r\nContent-Type: application/json\r\n\r\n${json}" \
|
||||
| nc -l -p 80 > /dev/null
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue