From ce3c1c8642133d2d3502b1788ea8e609a6bf807f Mon Sep 17 00:00:00 2001
From: Greg Fodor <gfodor@gmail.com>
Date: Wed, 18 Apr 2018 19:19:38 -0700
Subject: [PATCH] Fix issue with URL

---
 src/react-components/hub-create-panel.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/react-components/hub-create-panel.js b/src/react-components/hub-create-panel.js
index 0caff0292..4884bee65 100644
--- a/src/react-components/hub-create-panel.js
+++ b/src/react-components/hub-create-panel.js
@@ -44,7 +44,7 @@ class HubCreatePanel extends Component {
       createUrl = `https://dev.reticulum.io${createUrl}`;
     }
 
-    const res = await fetch("https://dev.reticulum.io/api/v1/hubs", {
+    const res = await fetch(createUrl, {
       body: JSON.stringify(payload),
       headers: { "content-type": "application/json" },
       method: "POST"
-- 
GitLab