This commit is contained in:
Yang Zhang 2019-07-24 07:44:24 +08:00
parent 7527049a22
commit 576344751c
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ app = Flask(__name__)
@app.route('/') @app.route('/')
def hello(): def hello():
provider = str(os.environ.get('PROVIDER', 'world')) provider = str(os.environ.get('PROVIDER', 'world'))
return 'Hello '+provider+'!' +'This is a test for auto-doploying and testing!' return 'Hello '+provider+'!' +'This is a test for auto-doploying, the last one!'
if __name__ == '__main__': if __name__ == '__main__':
# Bind to PORT if defined, otherwise default to 5000. # Bind to PORT if defined, otherwise default to 5000.