OpenWaterFoundation / owf-app-infomapper-ng

Open Water Foundation InfoMapper web application for menu-driven maps and visualizations, using Angular
GNU General Public License v3.0
1 stars 2 forks source link

Bad URL causes blank screen #320

Open smalers opened 4 years ago

smalers commented 4 years ago

Sometimes I change the page identifier or use a bad URL. The following is an example of the error that is shown.

image

It would be nice if:

  1. A general error page is shown with something like: "The URL is not valid for this application. Sometimes URLs change as the application is updated. Use the the application menu to select the page of interest. Contact support if the issue cannot be resolved."
  2. If we want to automatically reroute old URLs to the current version, how would that be done? Could we add data to the application configuration? This is going to be more important as more people use the website and bookmark specific pages.