Esri / nearby-javascript

ArcGIS API for JavaScript app to find places nearby and route to the nearest location.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logging out on mobile devices goes to Page not found

codergrl opened this issue · comments

This only happens on a mobile device, or on a browser that's been resized to where the Map and List are separate pages. When clicking Sign out, the app tries to load https://arcgis-nearby-js.netlify.com/map and returns Page not found

Done in latest update and live. I also added a redirect for the deployed site so that refreshes on local routes always work. They /map will redirect to the main page, but this is the cost of client side routing in web apps.

Looks good