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