add: store avatars and banners in uploads

This commit is contained in:
trisua 2025-08-23 15:36:26 -04:00
parent 1e50ace8b2
commit dbed2b2457
36 changed files with 211 additions and 363 deletions

View file

@ -20,11 +20,11 @@
(meta
("name" "og:image")
("content" "{{ config.host|safe }}/api/v1/auth/user/{{ owner.username }}/avatar?selector_type=username"))
("content" "{{ config.service_hosts.buckets|safe }}/avatars/{{ owner.id }}"))
(meta
("name" "twitter:image")
("content" "{{ config.host|safe }}/api/v1/auth/user/{{ owner.username }}/avatar?selector_type=usernamev"))
("content" "{{ config.service_hosts.buckets|safe }}/avatars/{{ owner.id }}"))
(meta
("name" "twitter:card")