diff --git a/jsx/src/components/ServerDashboard/ServerDashboard.jsx b/jsx/src/components/ServerDashboard/ServerDashboard.jsx index 0fe40992..dce3a067 100644 --- a/jsx/src/components/ServerDashboard/ServerDashboard.jsx +++ b/jsx/src/components/ServerDashboard/ServerDashboard.jsx @@ -30,7 +30,7 @@ const AccessServerButton = ({ url }) => ( ); const ServerDashboard = (props) => { - let base_url = window.base_url; + let base_url = window.base_url || "/"; // sort methods var usernameDesc = (e) => e.sort((a, b) => (a.name > b.name ? 1 : -1)), usernameAsc = (e) => e.sort((a, b) => (a.name < b.name ? 1 : -1)), @@ -277,7 +277,7 @@ const ServerDashboard = (props) => { />