Update the webcame and printing image part

This commit is contained in:
nono
2025-05-26 13:46:22 +02:00
parent 3d8c22598d
commit 38b3acfb89
3 changed files with 62 additions and 17 deletions

View File

@@ -50,7 +50,7 @@ if os.getenv('LIPY_DEBUG') == True:
app.secret_key = configuration_file["secrets"]["flask_secret_key"]
app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER
app.config['ALLOWED_EXTENSIONS'] = ALLOWED_EXTENSIONS
app.config['MAX_CONTENT_LENGTH'] = 3 * 1000 * 1000 # Maximum 3Mb for a file upload
app.config['MAX_CONTENT_LENGTH'] = 10 * 1000 * 1000 # Maximum 3Mb for a file upload
app.config['TEMPLATES_AUTO_RELOAD'] = True
# Printer connection