From baed2366bc44ddb143cb57217f76b6ebe61f0e02 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 17 Sep 2020 22:53:17 -0700 Subject: direct static asset links, to fix http downgrade There is/was an issue in starlette repo about having url_for() do the right thing when behind a reverse proxy: https://github.com/encode/starlette/issues/538#issuecomment-548795041 but really there is no need, we can just point to the static assets directly. --- fatcat_scholar/templates/base.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'fatcat_scholar/templates/base.html') diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html index e3d03ca..4c95501 100644 --- a/fatcat_scholar/templates/base.html +++ b/fatcat_scholar/templates/base.html @@ -114,7 +114,7 @@ crossorigin="anonymous"> + href="/static/ia-favicon.ico"> {% block extra_head %}{% endblock %} @@ -129,8 +129,8 @@ {% endif %} - - + + alpha @@ -200,7 +200,7 @@
- +
-- cgit v1.2.3