forked from CFC-Servers/cfc_chat_transit
Fix avatars dir, make border thicc
This commit is contained in:
parent
985a539f2f
commit
f9bce50f66
@ -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:
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user