correct ha app detection
This commit is contained in:
@@ -121,9 +121,11 @@ ha.rik.veenboer.xyz {
|
|||||||
}
|
}
|
||||||
|
|
||||||
route {
|
route {
|
||||||
@app {
|
@app <<CEL
|
||||||
header X-Requested-With io.homeassistant.companion.android
|
header({'X-Requested-With': 'io.homeassistant.companion.android'}) ||
|
||||||
}
|
header_regexp('User-Agent', '^Home Assistant') ||
|
||||||
|
header_regexp('User-Agent', 'Android')
|
||||||
|
CEL
|
||||||
handle @app {
|
handle @app {
|
||||||
reverse_proxy host:8123
|
reverse_proxy host:8123
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user