aboutsummaryrefslogtreecommitdiff
path: root/src/web/views/views.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-10 08:21:57 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-10 08:21:57 +0200
commitc9ef656ea7e9ab37971a44653683f0963436ace0 (patch)
tree64ced167126698c0666508e5cea7e92aae9ac3bf /src/web/views/views.py
parentnew name: the last one. (diff)
downloadnewspipe-c9ef656ea7e9ab37971a44653683f0963436ace0.tar.gz
newspipe-c9ef656ea7e9ab37971a44653683f0963436ace0.tar.bz2
newspipe-c9ef656ea7e9ab37971a44653683f0963436ace0.zip
letencrypt validation
Diffstat (limited to 'src/web/views/views.py')
-rw-r--r--src/web/views/views.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/web/views/views.py b/src/web/views/views.py
index 8f92714f..cbc26480 100644
--- a/src/web/views/views.py
+++ b/src/web/views/views.py
@@ -74,3 +74,11 @@ def popular():
@etag_match
def about():
return render_template('about.html')
+
+
+@current_app.route('/.well-known/acme-challenge/EZyud_oLrReeFMTW3rQiSi-RaZlXCDpwMBrRJ6-vGfU')
+def letsencrypt():
+ """
+ To validate the TLS certificate.
+ """
+ return 'EZyud_oLrReeFMTW3rQiSi-RaZlXCDpwMBrRJ6-vGfU.5YrZcJ4uGL2bWUwO6LFWFpwFxIcIL1z8W6hSjdjdLok'
bgstack15