aboutsummaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'app.py')
-rw-r--r--app.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/app.py b/app.py
index d1183e0..a24795e 100644
--- a/app.py
+++ b/app.py
@@ -1,9 +1,10 @@
-from flask import Flask, render_template
+from flask import Flask, make_response, render_template
+from jinja2 import select_autoescape
import repos
app = Flask(__name__)
-
+app.jinja_options['autoescape'] = select_autoescape(default=True)
@app.route('/')
def hello_world():