Merge branch 'guest-alt-routes' into 'develop'

guestExperience: add alternate user routes

See merge request soapbox-pub/soapbox-fe!1531
environments/review-develop-3zknud/deployments/288
Alex Gleason 2 years ago
commit 4b528e68fd

@ -609,7 +609,12 @@ const UI: React.FC = ({ children }) => {
const isProfileOrStatusPage = !!matchPath(
history.location.pathname,
['/@:username', '/@:username/posts/:statusId'],
[
'/@:username',
'/@:username/posts/:statusId',
'/users/:username',
'/users/:username/statuses/:statusId',
],
);
// Require login if Guest Experience is disabled and we're not trying

Loading…
Cancel
Save