From 60a5dc39b2353aeb8559c007bd857d58f193cb51 Mon Sep 17 00:00:00 2001 From: Erik Thiele Date: Mon, 18 May 2026 21:19:26 +0200 Subject: [PATCH] Version 1.1 --- app.py | 4 ++-- inventory.log | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 8760533..b9addd7 100644 --- a/app.py +++ b/app.py @@ -12,7 +12,7 @@ from werkzeug.security import check_password_hash, generate_password_hash app = Flask(__name__) app.config["SECRET_KEY"] = "dev-secret-key" -APP_VERSION = "1.0.0" +APP_VERSION = "1.1.0" DATABASE = Path(__file__).with_name("inventory.db") LOGFILE = Path(__file__).with_name("inventory.log") @@ -778,4 +778,4 @@ def print_transaction(transaction_id: int) -> str: if __name__ == "__main__": - app.run(debug=True) + app.run(host="0.0.0.0", port=5006, debug=True) diff --git a/inventory.log b/inventory.log index 24dd309..6976d31 100644 --- a/inventory.log +++ b/inventory.log @@ -707,3 +707,15 @@ 2026-05-18 21:11:01,744 INFO 127.0.0.1 - - [18/May/2026 21:11:01] "GET /static/cancom.svg HTTP/1.1" 304 - 2026-05-18 21:12:05,298 INFO 127.0.0.1 - - [18/May/2026 21:12:05] "GET / HTTP/1.1" 200 - 2026-05-18 21:12:05,322 INFO 127.0.0.1 - - [18/May/2026 21:12:05] "GET /static/cancom.svg HTTP/1.1" 304 - +2026-05-18 21:18:54,549 INFO WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:5006 + * Running on http://192.168.10.191:5006 +2026-05-18 21:18:54,551 INFO Press CTRL+C to quit +2026-05-18 21:18:54,552 INFO * Restarting with stat +2026-05-18 21:18:54,822 WARNING * Debugger is active! +2026-05-18 21:18:54,841 INFO * Debugger PIN: 428-899-358 +2026-05-18 21:19:15,844 INFO * Detected change in '/Users/erik/Documents/DEV/Key Verwaltung/app.py', reloading +2026-05-18 21:19:15,878 INFO * Restarting with stat +2026-05-18 21:19:16,201 WARNING * Debugger is active! +2026-05-18 21:19:16,216 INFO * Debugger PIN: 428-899-358