diff --git a/bbpay.py b/bbpay.py index 1073120..dc82a25 100755 --- a/bbpay.py +++ b/bbpay.py @@ -167,7 +167,7 @@ api.add_resource(Release, '/release/') if __name__ == '__main__': if getenv("DEBUG"): disable_warnings() - app.run(host='::1',debug=True) + app.run(host='::1', debug=True, port=getenv("PORT",5000)) else: from waitress import serve serve(app, host=getenv("HOST","::1"), port=getenv("PORT",5000))