aboutsummaryrefslogtreecommitdiffstats
path: root/app.py
blob: 9e9cdc4eae108f2e038cb52ab1bc90a228d8e3f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env python3

# Stdlib
import os

# Snekchek
from flask import Flask

app = Flask(__name__)

app._secret_key = os.environ.get("WEBPAGE_SECRET_KEY")


@app.route("/")
def _index():
    return "Robots are taking over"


if __name__ == '__main__':
    app.run(port=int(os.environ.get("WEBPAGE_PORT")), debug=False)