mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
asasa
This commit is contained in:
@@ -68,13 +68,16 @@ def update_music_list():
|
||||
)
|
||||
return return_data
|
||||
|
||||
def flask_debug():
|
||||
app.run(debug=True, use_reloader=False, host='0.0.0.0', port=5000)
|
||||
|
||||
if __name__ == "__main__":
|
||||
print(app.logger.name)
|
||||
rescan()
|
||||
thread = threading.Thread(target=thread_rescan, args=(1,))
|
||||
thread.start()
|
||||
app.run(debug=True, host="0.0.0.0")
|
||||
threading.Thread(target=flask_debug).start()
|
||||
threading.Thread(target=thread_rescan, args=(1,)).start()
|
||||
|
||||
#app.run(debug=True, host="0.0.0.0")
|
||||
#from waitress import serve
|
||||
#serve(app, host="0.0.0.0", port=5000)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user