diff --git a/.htaccess b/.htaccess index 52ae32d4..19224860 100644 --- a/.htaccess +++ b/.htaccess @@ -4,3 +4,5 @@ RewriteRule ^(skin|cape)/([^/-]*)(|-)(|alex|steve).png$ get.php?type=$1&model=$4 # 以下是可选内容 RewriteRule ^(usm|csl)/([^/]*).json$ get.php?type=json&uname=$2&api=$1 [L] RewriteRule ^(usm|csl)/textures/(.*)$ textures/$2 [L] +# 用于获取皮肤头像 +RewriteRule ^avatar/(|[0-9]*/)([^/-]*).png$ get.php?type=avatar&uname=$2&size=$1 [L]