Files
orion/main.py
Samir Boulahtit 3875ad91df fix: add explicit routes for platform path prefixes
Add explicit routes for /oms/ and /loyalty/ to handle path-based
platform routing in development mode. These routes are defined before
the generic /{slug} catch-all to ensure proper matching.

Routes added:
- /oms → redirect to /oms/
- /oms/ → OMS homepage
- /oms/{slug} → OMS content pages
- /loyalty → redirect to /loyalty/
- /loyalty/ → Loyalty homepage
- /loyalty/{slug} → Loyalty content pages

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 16:50:25 +01:00

29 KiB