mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-22 07:51:17 +01:00
proper favicon, close #11
I also added a note about the default parameter for skins
This commit is contained in:
parent
39e6e626b9
commit
d18b862ecc
@ -1,16 +0,0 @@
|
|||||||
var config = {
|
|
||||||
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: 30, // seconds until we will check if the image changed. should be > 60 to prevent mojang 429 response
|
|
||||||
browser_cache_time: 30, // seconds until browser will request image again
|
|
||||||
http_timeout: 3000, // ms until connection to mojang is dropped
|
|
||||||
cleaning_interval: 3, // seconds interval: deleting images if disk size at limit
|
|
||||||
cleaning_limit: 10240, // minumum required available KB on disk to trigger cleaning
|
|
||||||
cleaning_amount: 50000, // amount of avatar (and their helm) files to clean
|
|
||||||
faces_dir: "skins/faces/", // directory where faces are kept. should have trailing "/"
|
|
||||||
helms_dir: "skins/helms/", // directory where helms are kept. should have trailing "/"
|
|
||||||
debug_enabled: true // enables logging.debug
|
|
||||||
};
|
|
||||||
|
|
||||||
module.exports = config;
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 581 B After Width: | Height: | Size: 428 B |
@ -57,7 +57,8 @@ block content
|
|||||||
| Replace
|
| Replace
|
||||||
mark.green id
|
mark.green id
|
||||||
| with a Mojang UUID or username to get the related skin.
|
| with a Mojang UUID or username to get the related skin.
|
||||||
| You are redirected to the textures URL, or a 404 is returned.
|
| You are redirected to the textures URL, or a 404 is returned. <br>
|
||||||
|
| You can use the default parameter here as well.
|
||||||
.code
|
.code
|
||||||
| #{domain}/skins/
|
| #{domain}/skins/
|
||||||
mark.green id
|
mark.green id
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user