From 352279a5c3cc59ed429ab5eb93d3dc278b4710e5 Mon Sep 17 00:00:00 2001 From: JulienChampagnol Date: Tue, 22 Oct 2024 08:38:35 +0200 Subject: [PATCH] fix(host): app runs on host --- src/geodeapp_back/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/geodeapp_back/app.py b/src/geodeapp_back/app.py index a1dd889..e51bf06 100644 --- a/src/geodeapp_back/app.py +++ b/src/geodeapp_back/app.py @@ -64,7 +64,7 @@ def run_server(): app.config.update(DESKTOP_APP=args.desktop) flask_cors.CORS(app, origins=args.allowed_origin) print(f"Host: {args.host}, Port: {args.port}, Debug: {args.debug}, Data folder path: {args.data_folder_path}, Desktop mode: {args.desktop}, Origins: {args.allowed_origin}", flush=True) - app.run(debug=args.debug, host="0.0.0.0", port=args.port, ssl_context=SSL) + app.run(debug=args.debug, host=args.host, port=args.port, ssl_context=SSL) # ''' Main '''