update doodle box url

This commit is contained in:
casperlamboo 2018-02-06 17:28:25 +01:00
parent 4bf14d3a1d
commit 774289895e
2 changed files with 1 additions and 2 deletions

View File

@ -505,7 +505,7 @@ function printDialog(props, state, title, form, submitText, data, closeDialog, r
{wifiBoxes.map(({ localip, id, wifiboxid }) => (<MenuItem key={id} value={localip} primaryText={wifiboxid} />))} {wifiBoxes.map(({ localip, id, wifiboxid }) => (<MenuItem key={id} value={localip} primaryText={wifiboxid} />))}
</SelectField> </SelectField>
{data.ip && <ExitToAppIcon {data.ip && <ExitToAppIcon
onTouchTap={() => 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' }} style={{ fill: grey800, marginLeft: '10px', cursor: 'pointer' }}
/>} />}
</div> </div>

View File

@ -142,7 +142,6 @@ export function sleep(time) {
} }
const GCODE_SERVER_URL = 'https://gcodeserver.doodle3d.com'; const GCODE_SERVER_URL = 'https://gcodeserver.doodle3d.com';
const CONNECT_URL = 'http://connect.doodle3d.com/';
export async function slice(target, name, mesh, settings, updateProgress) { export async function slice(target, name, mesh, settings, updateProgress) {
let steps; let steps;