mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-12-22 11:03:48 +01:00
WiFi-box can't handle https
This commit is contained in:
parent
97fb6609ea
commit
0d955b48ea
@ -418,8 +418,8 @@ M.doodle3d_update_baseUrl = {
|
|||||||
description = ''
|
description = ''
|
||||||
}
|
}
|
||||||
|
|
||||||
M.doodle3d_gcode_server = {
|
M.gcode_server = {
|
||||||
default = 'https://tranquil-meadow-94621.herokuapp.com/',
|
default = 'http://tranquil-meadow-94621.herokuapp.com/',
|
||||||
type = 'string',
|
type = 'string',
|
||||||
description =''
|
description =''
|
||||||
}
|
}
|
||||||
|
@ -230,7 +230,7 @@ function M.fetch_POST(request, response)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local socket = printer:getId()
|
local socket = printer:getId()
|
||||||
local remote = settings.get('gcode_server')
|
local remote = settings.get('gcode.server')
|
||||||
local id = request:get("id")
|
local id = request:get("id")
|
||||||
io.popen("print-fetch " .. socket .. " " .. remote .. " " .. id .. gcodeFiles)
|
io.popen("print-fetch " .. socket .. " " .. remote .. " " .. id .. gcodeFiles)
|
||||||
response:setSuccess()
|
response:setSuccess()
|
||||||
|
Loading…
Reference in New Issue
Block a user