775ac7b58c
you must login with an BTP account in order to see the app
15 lines
262 B
Python
15 lines
262 B
Python
import os
|
|
from flask import Flask
|
|
from cfenv import AppEnv
|
|
|
|
app = Flask(__name__)
|
|
env = AppEnv()
|
|
|
|
port = int(os.environ.get('PORT', 3000))
|
|
@app.route('/')
|
|
|
|
def hello():
|
|
return "Hello World!"
|
|
|
|
if __name__ == '__main__':
|
|
app.run(host='0.0.0.0', port=port)
|