@@ -2,7 +2,7 @@
|
||||
"""HEOS panel: a phone-sized web remote plus the HTTP bridge it runs on.
|
||||
|
||||
pip3 install -r requirements.txt
|
||||
python3 app.py # http://<pi-ip>:5005/
|
||||
python3 app.py # http://<pi-ip>:5443/
|
||||
|
||||
Everything the UI does goes through /api/*. The flatter, query-string
|
||||
endpoints from the original heos_bridge.py (/volume/up?target=..., and
|
||||
@@ -22,7 +22,7 @@ from heos import HeosError
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
# Served straight from port 5005 this changes nothing. Behind a reverse
|
||||
# Served straight from port 5443 this changes nothing. Behind a reverse
|
||||
# proxy that mounts us on a sub-path (Apache at /heos, say) it reads the
|
||||
# X-Forwarded-Prefix that proxy sets, so every URL the app generates is
|
||||
# /heos/... instead of /..., and the page works either way.
|
||||
|
||||
Reference in New Issue
Block a user