aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-10-25 18:00:30 -0500
committerJP Dillingham <jp@dillingham.me>2026-10-25 18:00:30 -0500
commit778f0dd4569fe19c304fca5a6d32360be7ffffb8 (patch)
tree7d8d586065b60e77b5490a32ea49445475b31cd1 /src
parentf364e465a2c3e1027f22262a0f2df510d9c419f6 (diff)
downloadslskd-778f0dd4569fe19c304fca5a6d32360be7ffffb8.tar.gz
fix user profile/browse when running with non-empty urlbase
Diffstat (limited to 'src')
-rw-r--r--src/web/src/components/Rooms/Rooms.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/src/components/Rooms/Rooms.jsx b/src/web/src/components/Rooms/Rooms.jsx
index a21525ce..bf8cba39 100644
--- a/src/web/src/components/Rooms/Rooms.jsx
+++ b/src/web/src/components/Rooms/Rooms.jsx
@@ -260,13 +260,13 @@ class Rooms extends Component {
};
handleUserProfile = () => {
- this.props.history.push('/users', {
+ this.props.history.push(`${urlBase}/users`, {
user: this.state.contextMenu.message.username,
});
};
handleBrowseShares = () => {
- this.props.history.push('/browse', {
+ this.props.history.push(`${urlBase}/browse`, {
user: this.state.contextMenu.message.username,
});
};