Open sinowood opened 2 years ago
app.py
from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return 'hello world' if __name__ == '__main__': app.run(host='127.0.0.1',port=5000)
After obsfucated, I can't find the "app" variable, so I am unable to start it in gunicorn. How can it?
Weird bug. I think it's because of the @ before of "app". We'll try to fix this.
app.py
After obsfucated, I can't find the "app" variable, so I am unable to start it in gunicorn. How can it?