From d18b862ecc96ce74edbd7ab96f5e1d7e65ab0a5b Mon Sep 17 00:00:00 2001 From: jomo Date: Sun, 30 Nov 2014 05:18:27 +0100 Subject: [PATCH] proper favicon, close #11 I also added a note about the default parameter for skins --- modules/config.js | 16 ---------------- public/favicon.ico | Bin 1150 -> 0 bytes public/favicon.png | Bin 581 -> 428 bytes views/index.jade | 3 ++- 4 files changed, 2 insertions(+), 17 deletions(-) delete mode 100644 modules/config.js delete mode 100644 public/favicon.ico diff --git a/modules/config.js b/modules/config.js deleted file mode 100644 index f431aaa..0000000 --- a/modules/config.js +++ /dev/null @@ -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; \ No newline at end of file diff --git a/public/favicon.ico b/public/favicon.ico deleted file mode 100644 index 2cd0958b8e48a939f1cb2c6171e3431bbefa6af1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1150 zcmbu<-%C?r7zgk-=)#s;PMDafnLlz&!DK=Vajq>jLb^y&{ILmYn&z6GX@nzODRVQL zU6fZ7qKgWxo7C+>?JoZw!3!q}U*G4k_mD%d@;!Xc;XLR0KIc6*M~DmZ$jK4%Tq2%a z6e3RuVU=V_R*viPB7}UFxvHB2AU2PmW#701VkmMmQ)v_aRR3rO#QtE4oj33HE`T)p z-ZOf)sq8N5@6YKR_h$7yIDK(Ay>U3&UNMjF9f+%Uk*Rz`>pT>irM|)GTL8^a`R4uv zS_YQT7g}Z7>l6ahYq;ea(b+xEFdF^IT1GyhdH5sh+QRI-`KL3h(4tAC_YYar)sBd# z8;@W7V1Y;qW3nge>R@~61MKYXVIcIC`DfP6u#8-KeAExv{655L&> z{3ghRtdY*i6|`%gVX-=xvA7E6vRXY)*`O3&+-BOFEfAIOdj1U^+85+j)G^AR#$0X( z$+fwe#nuR7Dz0Xi3#}lhWqD73n=h$>k^J7rmFqPiYJS$$3S5#5*D9InGZxvv&dTSP SBTF(A++>;g%>Ti^-X8(Ze+xkX diff --git a/public/favicon.png b/public/favicon.png index 3afeeb0987b046a504ad8376d8f6c145b5ff5a64..a0890229a1e622899fa350bf34a8b0e7151df7a3 100644 GIT binary patch literal 428 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyHv)V@TrErlEKLQiO+=hb^lXjg z?M*cOO$_Wzw5-j&n4Yh)dv}4Uo5eJw6Riz>O!T5mjiSwrQz8x0(@aw1^^)UsW6VtAos476j8mNw7jCHcJ(tPbLr{!8t$}tFcG_T6b3^&zHOV&(J(Q3{x zsmwQM&e8AA)@jbwo?V=fm!_MYte%siF*C<>TCV@Jbj#`KX4A4AXBF5srfM#_;_3Z+l(xNP7;DHg3YP| zkGxj0O!83d<=J$?QR#{7am@uCLZ?osXN-uQu?`DXt^ US)X63K<yy85}Sb4q9e0DV)CssI20 literal 581 zcmV-L0=oT)P)004R> z004l5008;`004mK004C`008P>0026e000+ooVrmw00039P)t-sFCYyo9t|%a4=5Z9 zBp3)L8VV{M4J8=}B^e1P8wxWd5ke{wKPnY09u6@h5w?kJy^eCdj&sJAfW3=yy^eIO zc3P)$S2QIOF(MH+Cl$PnamAH?yozzFby=ozRyimYs(og(gl(;WZJcskopW8giE^B2 zOt*=1|Ns9|J&9I8hqZfWwuW>2`S`PgYqp4T{Q3A+K!{sIhO&5Nw}x-CgK$?si2L~W z_w(?mdt{trMxA6wvwLEH~hlm_4&SmzWn|`AQ+@+iuw~Fh6zWaQI_SnSUiz{WQt+Z;Y^0- zIWC(M1i)AnG0x`;MM)}I>>-wAS*cX3QcY3hI>yjwwp#5@x7+Iv2E);K43p_>HeaZ! zx?HW+o9)&fyWM`T9dunc2sxh4XSiHUQ#%-jaV6w*v*Lb#JT&e3B$n6f{kFviUR)_o T`TfVg00000NkvXXu0mjfhVJLv diff --git a/views/index.jade b/views/index.jade index 6f8db16..74d08c0 100644 --- a/views/index.jade +++ b/views/index.jade @@ -57,7 +57,8 @@ block content | Replace mark.green id | 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.
+ | You can use the default parameter here as well. .code | #{domain}/skins/ mark.green id