SykoDaedalus left a comment (openstreetmap/openstreetmap-website#6693)

Add DEMO_PARAMS mapping and refactor metadata handling

- Added `DEMO_PARAMS` constants to handle parameter differences between routing
  APIs and demo URLs (e.g., Valhalla API uses "auto" vs demo URL uses "car")
- Moved credit and demolink generation out of `_processDirections` to separate
  route processing logic from metadata

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6693#issuecomment-3732471137
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/6693/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to