mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-12-21 18:43: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 = ''
|
||||
}
|
||||
|
||||
M.doodle3d_gcode_server = {
|
||||
default = 'https://tranquil-meadow-94621.herokuapp.com/',
|
||||
M.gcode_server = {
|
||||
default = 'http://tranquil-meadow-94621.herokuapp.com/',
|
||||
type = 'string',
|
||||
description =''
|
||||
}
|
||||
|
@ -230,7 +230,7 @@ function M.fetch_POST(request, response)
|
||||
end
|
||||
|
||||
local socket = printer:getId()
|
||||
local remote = settings.get('gcode_server')
|
||||
local remote = settings.get('gcode.server')
|
||||
local id = request:get("id")
|
||||
io.popen("print-fetch " .. socket .. " " .. remote .. " " .. id .. gcodeFiles)
|
||||
response:setSuccess()
|
||||
|
Loading…
Reference in New Issue
Block a user