Jared hace 2 años
padre
commit
b578ca66b9
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      run.py

+ 3 - 1
run.py

@@ -9,4 +9,6 @@ if __name__ == '__main__':
     logging.basicConfig(
         level=logging.INFO,
         format='%(asctime)s %(levelname)s %(message)s')
-    app.run(host='0.0.0.0', 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'))