From 774289895ec728f398414f0f4f2fbb7ed78225b1 Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Tue, 6 Feb 2018 17:28:25 +0100 Subject: [PATCH] update doodle box url --- src/interface/Settings.js | 2 +- src/interface/utils.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/interface/Settings.js b/src/interface/Settings.js index b17011b..1830718 100644 --- a/src/interface/Settings.js +++ b/src/interface/Settings.js @@ -505,7 +505,7 @@ function printDialog(props, state, title, form, submitText, data, closeDialog, r {wifiBoxes.map(({ localip, id, wifiboxid }) => ())} {data.ip && window.open(`${CONNECT_URL}#box?localip=${data.ip}`, '_blank')} + onTouchTap={() => window.open(`${CONNECT_URL}/?uuid=0#control?localip=${data.ip}`, '_blank')} style={{ fill: grey800, marginLeft: '10px', cursor: 'pointer' }} />} diff --git a/src/interface/utils.js b/src/interface/utils.js index f52acd6..51a99b1 100644 --- a/src/interface/utils.js +++ b/src/interface/utils.js @@ -142,7 +142,6 @@ export function sleep(time) { } const GCODE_SERVER_URL = 'https://gcodeserver.doodle3d.com'; -const CONNECT_URL = 'http://connect.doodle3d.com/'; export async function slice(target, name, mesh, settings, updateProgress) { let steps;