From 59140c900e2dcd1dd19e09d29fbd4554c08a6ae3 Mon Sep 17 00:00:00 2001 From: Midgard Date: Wed, 27 Mar 2019 22:05:43 +0100 Subject: [PATCH] Move static files to static dir --- app/app.py | 2 +- app/{templates => static}/robots.txt | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename app/{templates => static}/robots.txt (100%) diff --git a/app/app.py b/app/app.py index d05a175..2fc3fe2 100644 --- a/app/app.py +++ b/app/app.py @@ -184,7 +184,7 @@ def random_quote(): @app.route('/robots.txt', methods=['GET']) def get_robots(): - return send_file('templates/robots.txt') + return send_file('static/robots.txt') @app.route('/quotes.html', methods=['GET']) diff --git a/app/templates/robots.txt b/app/static/robots.txt similarity index 100% rename from app/templates/robots.txt rename to app/static/robots.txt