|
@@ -10,5 +10,7 @@ if __name__ == '__main__':
|
|
|
level=logging.INFO,
|
|
|
format='%(asctime)s %(levelname)s %(message)s')
|
|
|
#app.run(host='0.0.0.0', debug=True, port=5000)
|
|
|
- app.run(host='139.162.119.173', debug=True, port=5000)
|
|
|
+ app.run(host='0.0.0.0', debug=True, port=5000)
|
|
|
+# app.run(host='139.162.119.173', debug=True, port=5000)
|
|
|
+
|
|
|
#app.run(host='139.162.119.173', debug=True, port=5000, ssl_context=('/etc/letsencrypt/live/api.ptt.cx/cert.pem','/etc/letsencrypt/live/api.ptt.cx/privkey.pem'))
|