This commit is contained in:
Yang Zhang 2019-07-24 07:12:25 +08:00
parent f5d35989f3
commit 24634452e8
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-building!' return 'Hello '+provider+'!' +'This is a test for auto-building and doploying!'
if __name__ == '__main__': if __name__ == '__main__':
# Bind to PORT if defined, otherwise default to 5000. # Bind to PORT if defined, otherwise default to 5000.