hpi-swt2 / compass-portal-blue

Compass Portal — 🟦 Edition
MIT License
6 stars 1 forks source link

Continued refresh of a map/route page appends locale repeatedly #242

Closed panicmod-e closed 2 years ago

panicmod-e commented 2 years ago

When on a map/route URL (for example http://localhost:3000/map/route?start=Pin%201&dest=Pin%202&locale=en continually appends an additional locale query parameter to the URL.

For example, refreshing the above example page four times yields http://localhost:3000/map/route?start=Pin%201&dest=Pin%202&locale=en&locale=en&locale=en&locale=en&locale=en

A fix should make sure that the locale is still appended if not currenlty present.

BenediktV commented 2 years ago

Fixed with #250