diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2017-04-07 22:16:39 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2017-04-07 22:16:39 +0200 |
commit | 012b2d04ec7dd20c5c774374dc42146e7ad82ae8 (patch) | |
tree | bfad3a243e3e82bce33fc59573befa70b79cbb0a /src/web/views/views.py | |
parent | Updated README. (diff) | |
download | newspipe-012b2d04ec7dd20c5c774374dc42146e7ad82ae8.tar.gz newspipe-012b2d04ec7dd20c5c774374dc42146e7ad82ae8.tar.bz2 newspipe-012b2d04ec7dd20c5c774374dc42146e7ad82ae8.zip |
cerificate renewed
Diffstat (limited to 'src/web/views/views.py')
-rw-r--r-- | src/web/views/views.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/web/views/views.py b/src/web/views/views.py index 03d6501d..203395e2 100644 --- a/src/web/views/views.py +++ b/src/web/views/views.py @@ -88,3 +88,11 @@ def about_more(): registration=[conf.SELF_REGISTRATION and 'Open' or 'Closed'][0], python_version="{}.{}.{}".format(*sys.version_info[:3]), nb_users=UserController().read().count()) + + +@current_app.route('/.well-known/acme-challenge/L2Ul7hxmsOxte-ctKBWPZ_bCfP8V55Yt1O_nMvVXrYA') +def letsencrypt(): + """ + To validate the TLS certificate. + """ + return 'L2Ul7hxmsOxte-ctKBWPZ_bCfP8V55Yt1O_nMvVXrYA.bUlx3NWj4YZ59CkBunuvzS0GnW5Kh9i4yehDEP4AEdU' |