mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 11:26:56 -08:00
lazy load profile pics
This commit is contained in:
parent
1d093bfe8c
commit
b40dd1444b
2 changed files with 2 additions and 2 deletions
|
@ -188,7 +188,7 @@ Federation doesn't work without SSL, without a domain name or without your serve
|
|||
|
||||
The site will still run without federation. You can create local communities and post in them...
|
||||
|
||||
My way around this is to use ngrok.com, which is a quick and simple way to create a temporary VPN with a domain and SSL. On the free plan your domain changes often, which will break federation every time you reconnect. $10 per month will get you https://yourwhatever.ngrok.app which won't change.
|
||||
My way around this is to use ngrok.com, which is a quick and simple way to create a temporary VPN with a domain and SSL. On the free plan your domain changes every few days, which will break federation. $10 per month will get you https://yourwhatever.ngrok.app which won't change.
|
||||
|
||||
Once you have ngrok working, edit the .env file and change the SERVER_NAME variable to your new domain name.
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{% else %}
|
||||
{% if user.avatar_id and not low_bandwidth %}
|
||||
<a href="/u/{{ user.link() }}" title="{{ user.ap_id if user.ap_id != none else user.user_name }}">
|
||||
<img src="{{ user.avatar_thumbnail() }}" alt="Avatar" /></a>
|
||||
<img src="{{ user.avatar_thumbnail() }}" alt="Avatar" loading="lazy" /></a>
|
||||
{% endif %}
|
||||
<a href="/u/{{ user.link() }}" title="{{ user.ap_id if user.ap_id != none else user.user_name }}">{{ user.display_name() }}</a>
|
||||
{% if user.created_recently() %}
|
||||
|
|
Loading…
Reference in a new issue