add server name flask param

This commit is contained in:
Tomasz Frątczak 2023-11-14 21:53:18 +01:00
parent b1ba481089
commit 91df8a0f26
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
# Initialise flask # Initialise flask
from flask import Flask from flask import Flask
app = Flask(__name__) app = Flask(__name__)
app.config['SERVER_NAME'] = '0.0.0.0:5000'
app.config.from_prefixed_env() app.config.from_prefixed_env()
# Initialise the bluetooth stack # Initialise the bluetooth stack