guestExperience: add alternate user routes
This commit is contained in:
parent
f34a5b81f8
commit
e03a22f88d
1 changed files with 6 additions and 1 deletions
|
@ -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 a new issue