mirror of
https://github.com/HangarMC/Hangar.git
synced 2025-02-05 14:40:33 +08:00
set right avatar and auth url in order to avoid cors errors
This commit is contained in:
parent
99bf226b34
commit
bace653ccc
@ -158,8 +158,8 @@ hangar:
|
||||
token-expiry: 300 # seconds
|
||||
refresh-token-expiry: 30 # days
|
||||
api:
|
||||
url: "http://localhost:8081"
|
||||
avatar-url: "http://localhost:8081/avatar/%s" # only comment in if you run auth locally
|
||||
url: "http://localhost:3001"
|
||||
avatar-url: "http://localhost:3001/avatar/%s" # only comment in if you run auth locally
|
||||
# avatar-url: "https://docs.papermc.io/img/paper.png"
|
||||
timeout: 10000
|
||||
safe-download-hosts:
|
||||
|
Loading…
Reference in New Issue
Block a user