openstax / os-webview

:books: Front-end web application for the OpenStax web site
28 stars 3 forks source link

Consistent canonical urls #2568

Closed RoyEJohnson closed 4 months ago

RoyEJohnson commented 5 months ago

DISCO-139 Consistently strip trailing slash from pathnames for canonical paths Used useLocation rather than window.location, which made it necessary to add MemoryRouter to some tests.