X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/32cc04fa5cddda8e06412830ef7a9238544c6721..0a15112423ebe2b2fece82f94ee67e3416d1cecb:/app/assets/javascripts/index/directions.js diff --git a/app/assets/javascripts/index/directions.js b/app/assets/javascripts/index/directions.js index 93024d0a9..18466864b 100644 --- a/app/assets/javascripts/index/directions.js +++ b/app/assets/javascripts/index/directions.js @@ -334,7 +334,7 @@ OSM.Directions = function (map) { select.on("change", function (e) { chosenEngine = engines[e.target.selectedIndex]; - Cookies.set("_osm_directions_engine", chosenEngine.id, { secure: true, expires: expiry, path: "/" }); + Cookies.set("_osm_directions_engine", chosenEngine.id, { secure: true, expires: expiry, path: "/", samesite: "lax" }); getRoute(true, true); });