diff --git a/app/routes.py b/app/routes.py index 8de968f..3088a27 100644 --- a/app/routes.py +++ b/app/routes.py @@ -37,8 +37,11 @@ def ftbhot_auth(): return 'hi bot guy' @app.route('/ftbhot') +@app.route('/ftbhot/') +def ftbhot(): + return 't' -@app.route('/time') +@app.route('/time/') def time(): value = request.args.get('value') if not value: diff --git a/app/static/reddit_hot.json b/app/static/reddit_hot.json new file mode 100644 index 0000000..9890a73 --- /dev/null +++ b/app/static/reddit_hot.json @@ -0,0 +1,7 @@ +{ + "title": "", + "author_name": "", + "author_url": "", + "provider_name": "", + "provider_url": "" +} \ No newline at end of file diff --git a/app/templates/reddit_hot.html b/app/templates/reddit_hot.html new file mode 100644 index 0000000..c9f96c9 --- /dev/null +++ b/app/templates/reddit_hot.html @@ -0,0 +1,10 @@ + + + + + {% if description is defined %}{% endif %} + {% if banner_image is defined %}{% endif %} + {% if color is defined %}{% endif %} + + This page isn't meant to be viewed by users. + \ No newline at end of file diff --git a/config.py b/config.py index d08ca33..28549ea 100644 --- a/config.py +++ b/config.py @@ -6,7 +6,7 @@ keys = json.load(open(os.path.join(basedir, 'keys.json'), 'r')) class Config(object): REDDIT_SECRET = keys['REDDIT_SECRET'] DISCORD_TOKEN = keys['DISCORD_TOKEN'] - SECRET_KEY = keys['PASSWORD_HASH'] + SECRET_KEY = keys['SECRET_KEY'] HIDDEN_NUMBER = keys['HIDDEN_NUMBER'] TEMPLATES_AUTO_RELOAD=True SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or \