Version 1.1
This commit is contained in:
4
app.py
4
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)
|
||||
|
||||
@@ -707,3 +707,15 @@
|
||||
2026-05-18 21:11:01,744 INFO 127.0.0.1 - - [18/May/2026 21:11:01] "[36mGET /static/cancom.svg HTTP/1.1[0m" 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] "[36mGET /static/cancom.svg HTTP/1.1[0m" 304 -
|
||||
2026-05-18 21:18:54,549 INFO [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
||||
* 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 [33mPress CTRL+C to quit[0m
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user