diff options
author | 2018-02-03 13:13:24 +0000 | |
---|---|---|
committer | 2018-02-03 13:13:24 +0000 | |
commit | 65ae5ea620ddbb3528e0af888c4ae7ad941ca3d0 (patch) | |
tree | c683bedfdae18c958713fe210f5fffab9f2263b8 /__main__.py | |
parent | add isort (diff) |
Change __main__.py to app.py
Diffstat (limited to '__main__.py')
-rw-r--r-- | __main__.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/__main__.py b/__main__.py deleted file mode 100644 index 9533b89f..00000000 --- a/__main__.py +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env python3 - -import os - -from flask import Flask - -app = Flask(__name__) - -app.secret_key = os.environ.get("WEBPAGE_SECRET_KEY") - - [email protected]("/") -def index(): - return "Hello." - - -if __name__ == '__main__': - app.run(port=int(os.environ.get("WEBPAGE_PORT")), debug=False) |