simplyprint: preprare for release

Signed-off-by: Albert Møller Nielsen <albert@simplyprint.io>
This commit is contained in:
Albert Møller Nielsen 2022-11-21 01:16:08 +01:00 committed by GitHub
parent 362bc1a3d3
commit c61ff8b252
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -106,8 +106,7 @@ class SimplyPrint(Subscribable):
self.gcode_terminal_enabled: bool = False
self.connected = False
self.is_set_up = False
# TODO: default use_test_endpoint to false upon release
self.test = config.get("use_test_endpoint", True)
self.test = config.get("use_test_endpoint", False)
connect_url = config.get("url", None)
if connect_url is not None:
self.connect_url = connect_url
@ -1312,7 +1311,7 @@ class LayerDetect:
# Ideally we will always fetch from the localhost rather than
# go through the reverse proxy
FALLBACK_URL = "http://127.0.0.1:8080/?action=snapshot"
SP_SNAPSHOT_URL = "https://apirewrite.simplyprint.io/jobs/ReceiveSnapshot"
SP_SNAPSHOT_URL = "https://api.simplyprint.io/jobs/ReceiveSnapshot"
SP_AI_URL = "https://ai.simplyprint.io/api/v2/infer"
class WebcamStream: