mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 19:10:38 +02:00
clarify config options
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
var config = {
|
||||
min_size: 0, // < 0 will (obviously) cause crash
|
||||
min_size: 1, // < 1 will (obviously) cause crash
|
||||
max_size: 512, // too big values might lead to slow response time or DoS
|
||||
default_size: 160, // size to be used when no size given
|
||||
local_cache_time: 3600, // seconds until we will check if the image changed
|
||||
local_cache_time: 3600, // seconds until we will check if the image changed. should be > 60 to prevent mojang 429 response
|
||||
browser_cache_time: 3600, // seconds until browser will request image again
|
||||
http_timeout: 1000, // ms until connection to mojang is dropped
|
||||
faces_dir: 'skins/faces/', // directory where faces are kept. should have trailing '/'
|
||||
|
||||
Reference in New Issue
Block a user