summaryrefslogtreecommitdiff
path: root/lib/api/server.py
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2023-02-20 15:27:15 -0500
committerGitHub <noreply@github.com>2023-02-20 15:27:15 -0500
commit8b98083ac723e4145a7c41483f7dda10f722566f (patch)
tree9a058b6aa3c907d3da12d3efdfbc115ef1b4eff4 /lib/api/server.py
parent43ec2db4516545744051d5762728f287cc19acf6 (diff)
parentaa65a2bf3fb747dc89e2d905f1fc45b269b5cab4 (diff)
Merge pull request #1732 from inkstitch/lexelby/cache-stitch-plan
stitch plan caching
Diffstat (limited to 'lib/api/server.py')
-rw-r--r--lib/api/server.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/server.py b/lib/api/server.py
index 93b08ff1..626e412e 100644
--- a/lib/api/server.py
+++ b/lib/api/server.py
@@ -18,6 +18,7 @@ from ..utils.json import InkStitchJSONEncoder
from .install import install
from .simulator import simulator
from .stitch_plan import stitch_plan
+from .preferences import preferences
class APIServer(Thread):
@@ -45,6 +46,7 @@ class APIServer(Thread):
self.app.register_blueprint(simulator, url_prefix="/simulator")
self.app.register_blueprint(stitch_plan, url_prefix="/stitch_plan")
self.app.register_blueprint(install, url_prefix="/install")
+ self.app.register_blueprint(preferences, url_prefix="/preferences")
@self.app.before_request
def store_extension():