Fix avatars dir, make border thicc

This commit is contained in:
Brandon Sturgeon 2021-02-17 10:15:07 -08:00
parent 985a539f2f
commit f9bce50f66
No known key found for this signature in database
GPG Key ID: 93451558FC64495C
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ services:
- "$API_PORT:80"
volumes:
- ./avatars.conf:/etc/nginx/nginx.conf
- ./avatars:/usr/share/nginx/html/avatars
- "$AVATARS_DIR:/usr/share/nginx/html/avatars"
service:
build:

View File

@ -33,7 +33,7 @@ def outline():
x, y = avatar.size
bbox = (0, 0, x, y)
draw = ImageDraw.Draw(avatar, "RGBA")
draw.ellipse(bbox, fill=transparent, outline=outline_color, width=8)
draw.ellipse(bbox, fill=transparent, outline=outline_color, width=10)
del draw
avatar.save(avatar_path, "PNG")