diff options
author | Jaz Volpert <ericvolp12@gmail.com> | 2024-10-04 13:40:45 -0700 |
---|---|---|
committer | Jaz Volpert <ericvolp12@gmail.com> | 2024-10-04 13:40:45 -0700 |
commit | b0fe2c6c9af9a243b287b76371f2359af9942cba (patch) | |
tree | 0ea9290cd11dc0d8529586383f1fbfca92ac95d3 /bskyweb/templates/base.html | |
parent | 6382fe45356a1fd8696f7fa62a2d140fc833ac8a (diff) | |
download | voidsky-b0fe2c6c9af9a243b287b76371f2359af9942cba.tar.zst |
Serve static assets from a CDN host if provided
Diffstat (limited to 'bskyweb/templates/base.html')
-rw-r--r-- | bskyweb/templates/base.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bskyweb/templates/base.html b/bskyweb/templates/base.html index 885d13d2a..5f0f1ca78 100644 --- a/bskyweb/templates/base.html +++ b/bskyweb/templates/base.html @@ -13,8 +13,8 @@ <!-- Hello Humans! API docs at https://atproto.com --> - <link rel="preload" as="font" type="font/ttf" href="/static/media/InterVariable.c9f788f6e7ebaec75d7c.ttf"> - <link rel="preload" as="font" type="font/ttf" href="/static/media/InterVariable-Italic.55d6a3f35e9b605ba6f4.ttf"> + <link rel="preload" as="font" type="font/ttf" href="{{ staticCDNHost }}/static/media/InterVariable.c9f788f6e7ebaec75d7c.ttf"> + <link rel="preload" as="font" type="font/ttf" href="{{ staticCDNHost }}/static/media/InterVariable-Italic.55d6a3f35e9b605ba6f4.ttf"> <style> /** @@ -64,10 +64,10 @@ </style> {% include "scripts.html" %} - <link rel="apple-touch-icon" sizes="180x180" href="/static/apple-touch-icon.png"> - <link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32x32.png"> - <link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16x16.png"> - <link rel="mask-icon" href="/static/safari-pinned-tab.svg" color="#1185fe"> + <link rel="apple-touch-icon" sizes="180x180" href="{{ staticCDNHost }}/static/apple-touch-icon.png"> + <link rel="icon" type="image/png" sizes="32x32" href="{{ staticCDNHost }}/static/favicon-32x32.png"> + <link rel="icon" type="image/png" sizes="16x16" href="{{ staticCDNHost }}/static/favicon-16x16.png"> + <link rel="mask-icon" href="{{ staticCDNHost }}/static/safari-pinned-tab.svg" color="#1185fe"> <meta name="theme-color"> <meta name="application-name" content="Bluesky"> <meta name="generator" content="bskyweb"> |