fix: patch server-ui entrypoint to fix sed ordering bug
The server-ui's entrypoint inserts <base href> THEN rewrites all href="/" — including the just-inserted base tag, causing doubling. Patched entrypoint rewrites asset paths first, then inserts <base>. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -192,9 +192,12 @@ services:
|
||||
cameleer3-server-ui:
|
||||
image: ${CAMELEER3_SERVER_UI_IMAGE:-gitea.siegeln.net/cameleer/cameleer3-server-ui}:${VERSION:-latest}
|
||||
restart: unless-stopped
|
||||
entrypoint: ["/bin/sh", "/cameleer-entrypoint-patched.sh"]
|
||||
depends_on:
|
||||
cameleer3-server:
|
||||
condition: service_healthy
|
||||
volumes:
|
||||
- ./docker/server-ui-entrypoint.sh:/cameleer-entrypoint-patched.sh:ro
|
||||
environment:
|
||||
CAMELEER_API_URL: http://cameleer3-server:8081
|
||||
BASE_PATH: /server
|
||||
|
||||
Reference in New Issue
Block a user