loading
open in
main.py
1
2
3
4
5
6
7
8
9
10
11
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
  # Link to test page
  return 'To see the test route go to /test'
@app.route('/test')
def testing():
  return 'You got to the testing route!'
if __name__ == '__main__':
  app.run(host='0.0.0.0')