Multi-printers #32

Open
n07070 wants to merge 80 commits from multi-printers into master
pull from: multi-printers
Showing only changes of commit 6aa85f99d0 - Show all commits
+3 -3
View File
@@ -136,7 +136,7 @@ app.logger.info("🖶 Welcome to LittlePrynter !")
# General routes # General routes
@app.route("/") @app.route("/")
@limiter.limit("2/second", override_defaults=False) @limiter.limit("5/second", override_defaults=False)
def index(): def index():
"""Return the web interface index""" """Return the web interface index"""
app.logger.debug("Loading index") app.logger.debug("Loading index")
@@ -144,7 +144,7 @@ def index():
@app.route("/webcam") @app.route("/webcam")
@limiter.limit("2/second", override_defaults=False) @limiter.limit("5/second", override_defaults=False)
def webcam(): def webcam():
"""Returns the webcam web interface""" """Returns the webcam web interface"""
app.logger.debug("Loading webcam interface") app.logger.debug("Loading webcam interface")
@@ -152,7 +152,7 @@ def webcam():
# General routes # General routes
@app.route("/queue") @app.route("/queue")
@limiter.limit("3/second", override_defaults=False) @limiter.limit("5/second", override_defaults=False)
def queue(): def queue():
"""Return the web interface index""" """Return the web interface index"""
app.logger.debug("Loading queue") app.logger.debug("Loading queue")
1