add host to dashboard

This commit is contained in:
KF7EEL 2020-12-30 16:41:51 -08:00
parent 7cd73740b4
commit 8cb40cbe2c
2 changed files with 3 additions and 1 deletions

View File

@ -116,4 +116,4 @@ def dash_loc():
#return render_template('index.html', data = str(get_data()))
if __name__ == '__main__':
app.run(debug = True, port=dash_port)
app.run(debug = True, port=dash_port, host=dash_host)

View File

@ -27,3 +27,5 @@ dashboard_title = 'HBLink3 D-APRS Dashboard'
logo = 'https://raw.githubusercontent.com/kf7eel/hblink3/gps/HBlink.png'
# Port to run server
dash_port = 8092
# IP to run server on
dash_host = '127.0.0.1'