Skip to content
Snippets Groups Projects
Commit 6455e7e8 authored by Greg Fodor's avatar Greg Fodor
Browse files

Try fixing reticulum server issue with create page

parent f95d6e2f
No related branches found
No related tags found
No related merge requests found
......@@ -99,7 +99,7 @@ class HubCreatePanel extends Component {
const hub = await res.json();
if (document.location.host === process.env.RETICULUM_SERVER) {
if (!process.env.RETICULUM_SERVER || document.location.host === process.env.RETICULUM_SERVER) {
document.location = hub.url;
} else {
document.location = `/hub.html?hub_id=${hub.hub_id}`;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment