mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
change default config to use /var/lib/crafatr/images
I think this makes more sense, especially when you run multiple instances so they can use the same image cache instead of each version relying on their own
This commit is contained in:
parent
b460260bae
commit
4d949362be
@ -16,11 +16,11 @@ var config = {
|
|||||||
amount: 50000 // amount of skins for which all iamge types are deleted
|
amount: 50000 // amount of skins for which all iamge types are deleted
|
||||||
},
|
},
|
||||||
directories: {
|
directories: {
|
||||||
faces: "images/faces/", // directory where faces are kept. should have trailing "/"
|
faces: "/var/lib/crafatar/images/faces/", // directory where faces are kept. must have trailing "/"
|
||||||
helms: "images/helms/", // directory where helms are kept. should have trailing "/"
|
helms: "/var/lib/crafatar/images/helms/", // directory where helms are kept. must have trailing "/"
|
||||||
skins: "images/skins/", // directory where skins are kept. should have trailing "/"
|
skins: "/var/lib/crafatar/images/skins/", // directory where skins are kept. must have trailing "/"
|
||||||
renders: "images/renders/", // directory where rendered skins are kept. should have trailing "/"
|
renders: "/var/lib/crafatar/images/renders/", // directory where rendered skins are kept. must have trailing "/"
|
||||||
capes: "images/capes/" // directory where capes are kept. should have trailing "/"
|
capes: "/var/lib/crafatar/images/capes/" // directory where capes are kept. must have trailing "/"
|
||||||
},
|
},
|
||||||
caching: {
|
caching: {
|
||||||
local: 1200, // seconds until we will check if user's skin changed. should be > 60 to comply with Mojang's rate limit
|
local: 1200, // seconds until we will check if user's skin changed. should be > 60 to comply with Mojang's rate limit
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user