From 486dd831cf481cfa940b56871656413eac9b6e84 Mon Sep 17 00:00:00 2001 From: Son Nguyen Kim Date: Thu, 23 Sep 2021 09:25:07 +0200 Subject: [PATCH] fix canonical url --- server.py | 2 +- templates/base.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index 0805df39..692df1e7 100644 --- a/server.py +++ b/server.py @@ -626,7 +626,7 @@ def jinja2_filter(app): STATUS_PAGE_URL=STATUS_PAGE_URL, SUPPORT_EMAIL=SUPPORT_EMAIL, PGP_SIGNER=PGP_SIGNER, - current_url=request.url, + canonical_url=f"{URL}{request.path}", ) diff --git a/templates/base.html b/templates/base.html index 9a161605..9eace899 100644 --- a/templates/base.html +++ b/templates/base.html @@ -28,7 +28,7 @@ - + {% block title %}{% endblock %} | SimpleLogin