make avatar url resolve locally to paper icon

This commit is contained in:
MiniDigger 2020-08-21 18:19:49 +02:00
parent 6e2c5245ef
commit 0e1fb649ba

View File

@ -109,7 +109,8 @@ hangar:
unsafe-download-max-age: 600000 unsafe-download-max-age: 600000
api: api:
url: "http://localhost:8000" url: "http://localhost:8000"
avatar-url: "http://localhost:8000/avatar/%s?size=120x120" # avatar-url: "http://localhost:8000/avatar/%s?size=120x120" # only comment in if you run auth locally
avatar-url: "https://paper.readthedocs.io/en/latest/_images/papermc_logomark_500.png"
key: changeme key: changeme
timeout: 10000 timeout: 10000
breaker: breaker: