Merge branch 'guest-alt-routes' into 'develop'
guestExperience: add alternate user routes See merge request soapbox-pub/soapbox-fe!1531
This commit is contained in:
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…
Reference in New Issue