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