fix(hermes-ui): switch from headless 'hermes serve' to 'hermes dashboard --no-open'
This commit is contained in:
@@ -109,7 +109,7 @@ async def _proxy_http(request: Request, path: str = "") -> Response:
|
|||||||
except httpx.HTTPError as exc:
|
except httpx.HTTPError as exc:
|
||||||
log.debug("hermes-ui http-proxy (%s) nicht erreichbar: %s", path, exc)
|
log.debug("hermes-ui http-proxy (%s) nicht erreichbar: %s", path, exc)
|
||||||
return Response(
|
return Response(
|
||||||
content=b"Hermes-WebUI (hermes serve) nicht erreichbar.",
|
content=b"Hermes-WebUI (hermes dashboard) nicht erreichbar.",
|
||||||
status_code=502, media_type="text/plain",
|
status_code=502, media_type="text/plain",
|
||||||
)
|
)
|
||||||
body = r.content
|
body = r.content
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ Wants=network-online.target
|
|||||||
# liegen und der Proxy sie sauber durchreichen kann.
|
# liegen und der Proxy sie sauber durchreichen kann.
|
||||||
Type=simple
|
Type=simple
|
||||||
Environment=HERMES_HOME=%h/.hermes
|
Environment=HERMES_HOME=%h/.hermes
|
||||||
ExecStart=%h/.hermes/hermes-agent/venv/bin/hermes serve --skip-build --host 127.0.0.1 --port 9119
|
ExecStart=%h/.hermes/hermes-agent/venv/bin/hermes dashboard --no-open --skip-build --host 127.0.0.1 --port 9119
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=3
|
RestartSec=3
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user