mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
11 lines
486 B
ApacheConf
11 lines
486 B
ApacheConf
RewriteEngine on
|
|
RewriteBase /
|
|
|
|
RewriteRule ^([^/]*).json$ get.php?type=json&uname=$1 [L]
|
|
RewriteRule ^(skin|cape)/([^/-]*)(|-)(|alex|steve).png$ get.php?type=$1&model=$4&uname=$2 [L]
|
|
# 同时支持 UniSkinAPI 和 CustomSkinLoader API
|
|
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]
|