diff --git a/frontend/index.html b/frontend/index.html index 42dd781..8e75917 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -535,7 +535,7 @@ function renderAppCard(app) { - + ${app.repo_url ? `` : ""} diff --git a/panel-api.py b/panel-api.py index 0aa7847..8297462 100644 --- a/panel-api.py +++ b/panel-api.py @@ -220,6 +220,7 @@ class Handler(BaseHTTPRequestHandler): "domains": fields[1], "upstream": fields[2], "auth": fields[3].replace("auth=", ""), + "repo_url": fields[4] if len(fields) >= 5 else "", }) self._json(200, {"ok": True, "apps": apps}) return diff --git a/panelctl.sh b/panelctl.sh index cda8969..43d246b 100644 --- a/panelctl.sh +++ b/panelctl.sh @@ -601,7 +601,8 @@ cmd_list() { # shellcheck disable=SC1090 source "${mf}" local domains="${APP_DOMAINS:-${APP_DOMAIN}}" - echo "${APP_NAME} ${domains} ${APP_UPSTREAM} auth=${APP_AUTH_PROTECTED}" + local repo_info="${APP_REPO_URL:-}" + echo "${APP_NAME} ${domains} ${APP_UPSTREAM} auth=${APP_AUTH_PROTECTED} ${repo_info}" done if [[ "${found}" -eq 0 ]]; then