From 5a847e075c7605a5471ca4483c817c86a85f60b0 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Sun, 5 Apr 2026 23:21:53 +0200 Subject: [PATCH] fix: remove root redirect, /platform/ is the entry point MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Server-side path rewrite breaks React Router (browser URL stays at / but basename is /platform). The SPA entry point is /platform/ — users bookmark that. Root / goes to Logto catch-all which is correct for direct OIDC flows. Co-Authored-By: Claude Opus 4.6 (1M context) --- docker-compose.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5c3ced7..c4f2865 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -147,14 +147,6 @@ services: - traefik.http.routers.saas.entrypoints=websecure - traefik.http.routers.saas.tls=true - traefik.http.services.saas.loadbalancer.server.port=8080 - - traefik.http.routers.root-redirect.rule=Path(`/`) - - traefik.http.routers.root-redirect.priority=100 - - traefik.http.routers.root-redirect.entrypoints=websecure - - traefik.http.routers.root-redirect.tls=true - - traefik.http.routers.root-redirect.middlewares=root-to-platform - - traefik.http.routers.root-redirect.service=saas - - traefik.http.middlewares.root-to-platform.replacepathregex.regex=^/$$ - - traefik.http.middlewares.root-to-platform.replacepathregex.replacement=/platform/ networks: - cameleer