mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-14 04:46:34 +00:00
Allow proxy in codespaces env for core (#13842)
This commit is contained in:
parent
7336c1280f
commit
9f19bdde65
@ -46,6 +46,14 @@ frontend:
|
||||
# development_repo: ${WD}" >> "${WD}/config/configuration.yaml"
|
||||
fi
|
||||
|
||||
if [ ! -z "${CODESPACES}" ]; then
|
||||
echo "
|
||||
http:
|
||||
use_x_forwarded_for: true
|
||||
trusted_proxies:
|
||||
- 127.0.0.1
|
||||
" >> "${WD}/config/configuration.yaml"
|
||||
fi
|
||||
fi
|
||||
|
||||
hass -c "${WD}/config"
|
||||
|
Loading…
x
Reference in New Issue
Block a user