Skip to content

Commit

Permalink
Merge pull request #68 from civier/civier-patch-6
Browse files Browse the repository at this point in the history
Update app.py
  • Loading branch information
civier authored Jul 28, 2024
2 parents d9e6684 + 8ec88a2 commit 718c79b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion front/app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,8 @@ def getListOfFiles(dirName):
import threading

def front(app):
app.run(host='127.0.0.1',port=5000)#,debug=True)#,threaded=True)
# use 0.0.0.0 instead of 127.0.0.1 so listens both on localhost and external network interface
app.run(host='0.0.0.0',port=5000)#,debug=True)#,threaded=True)

def main():
t1 = threading.Thread(target=front,args=(app,))
Expand Down

0 comments on commit 718c79b

Please sign in to comment.