fix: use /trainer as the public trainer route
This commit is contained in:
1 parent
74c8504d52
commit
d182cd30fa
12 files changed
+21
-14
No files matched your search
@@ -1,5 +1,10 @@
|
||||
# Structure and Data
|
||||
|
||||
## Trainer public route — 2026-11-17
|
||||
|
||||
- Owner requested `/trainer` instead of `/lu-trainer`. Python and Nginx now expose `/trainer` and `/trainer/`; the homepage link and browser entry URLs use `/trainer`. Internal `web/lu-trainer.html` and `/lu-trainer/` asset URLs are retained. No game mechanics, runtime dependencies or deployment changes.
|
||||
- Validation passed: 3 targeted Python routing/asset tests, Nginx syntax check, JS test-script syntax and diff checks, plus Chromium navigation from the homepage to `/trainer`, one rendered jump and the `/trainer/` alias. The gameplay suite changed only its entry URLs. Remote test-zone/token-optimizer MCP remain unavailable. Temporary venv/data and Nginx container/image were removed after verification. No push or deployment.
|
||||
|
||||
## LU trainer implementation — 2026-11-17
|
||||
|
||||
- Implemented root `LU_TRAINER_PROJECT.md` after the owner's follow-up request to implement it. `/lu-trainer`, `/lu-trainer/` and `/lu-trainer.html` serve the same standalone page. Python aliases are explicit in `app/main.py`; Nginx aliases use `try_files /lu-trainer.html`. `Dockerfile` and `Dockerfile.gateway` already copy all `web/`; the gateway release Dockerfile also copies `nginx.conf`. Production images, cluster manifests and registry state were not changed. Existing gateway base publishing requirements still apply before a release.
|
||||
|
||||
Reference in new issue
Block a user