add host to dashboard

This commit is contained in:
KF7EEL 2020-12-30 16:40:39 -08:00
parent 160d11e651
commit ffb8b16187
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'