Flask: Difference between revisions

Content added Content deleted
No edit summary
Line 43: Line 43:
if __name__ == '__main__':
if __name__ == '__main__':
app.run(debug = True)
app.run(debug = True, host = '0.0.0.0')
</syntaxhighlight>
</syntaxhighlight>


Line 63: Line 63:
</syntaxhighlight>
</syntaxhighlight>


Access the application on below URL:

http://10.10.10.1:5000/upload
http://10.10.10.1:5000/upload