保存当前工作内容,准备拉取远程更新

This commit is contained in:
Mikuisnotavailable
2025-10-15 22:16:06 +08:00
parent 01fbffa1eb
commit d9a15dd13d
5 changed files with 51 additions and 10 deletions

View File

@@ -110,7 +110,7 @@ export default function CustomSkinLoaderTutorialPage() {
{
"name": "OurSkin",
"type": "CustomSkinAPI",
"root": "https://example.com/api/csl/"
"root": "https://code.littlelan.cn/CarrotSkin/APIgateway/csl/"
},
{
"name": "Mojang",

View File

@@ -169,7 +169,7 @@ name: 'LittleSkin'
# Don't change it unless you really want to.
serviceType: BLESSING_SKIN
# Fill in the API root like \`https://skin.example.com/api/yggdrasil\`
apiRoot: 'https://skin.littlelan.cn/api/yggdrasil'`}</pre>
apiRoot: 'https://code.littlelan.cn/CarrotSkin/APIgateway/yggdrasil'`}</pre>
</div>
</div>
</div>

View File

@@ -72,7 +72,7 @@ export default function YggdrasilTutorialPage() {
{/* 拖放配置卡片 */}
<DragConfigCard
authUrl="https://skin.littlelan.cn/api/yggdrasil"
authUrl="https://code.littlelan.cn/CarrotSkin/APIgateway/yggdrasil"
serviceName="HITWH.GAMES 皮肤系统"
/>
@@ -91,7 +91,7 @@ export default function YggdrasilTutorialPage() {
<li>"添加认证服务器"</li>
<li>
"服务器地址"<br/>
<code className="bg-gray-100 dark:bg-gray-800 px-3 py-2 rounded block mt-2">https://skin.littlelan.cn/api/yggdrasil</code>
<code className="bg-gray-100 dark:bg-gray-800 px-3 py-2 rounded block mt-2">https://code.littlelan.cn/CarrotSkin/APIgateway/yggdrasil</code>
</li>
<li>"下一步"HITWH.GAMES的用户名和密码</li>
<li>"登录"使HITWH.GAMES账号</li>
@@ -105,7 +105,7 @@ export default function YggdrasilTutorialPage() {
<li>"外置登录"</li>
<li>
"认证服务器"<br/>
<code className="bg-gray-100 dark:bg-gray-800 px-3 py-2 rounded block mt-2">https://skin.littlelan.cn/api/yggdrasil</code>
<code className="bg-gray-100 dark:bg-gray-800 px-3 py-2 rounded block mt-2">https://code.littlelan.cn/CarrotSkin/APIgateway/yggdrasil</code>
</li>
<li>"保存"</li>
<li>HITWH.GAMES的用户名和密码进行登录</li>

View File

@@ -104,11 +104,11 @@ export default function UserHome() {
name: "外置登录",
uuid: session?.user?.id || "user_uuid",
accessToken: "demo_token",
validateUrl: "http://localhost:3000/api/auth/validate",
refreshUrl: "http://localhost:3000/api/auth/refresh",
invalidateUrl: "http://localhost:3000/api/auth/invalidate",
userInfoUrl: "http://localhost:3000/api/auth/user",
authUrl: "http://localhost:3000/api/auth/authenticate"
validateUrl: "https://code.littlelan.cn/CarrotSkin/APIgateway/auth/validate",
refreshUrl: "https://code.littlelan.cn/CarrotSkin/APIgateway/auth/refresh",
invalidateUrl: "https://code.littlelan.cn/CarrotSkin/APIgateway/auth/invalidate",
userInfoUrl: "https://code.littlelan.cn/CarrotSkin/APIgateway/auth/user",
authUrl: "https://code.littlelan.cn/CarrotSkin/APIgateway/auth/authenticate"
});
e.dataTransfer.setData('text/plain', yggdrasilData);
e.dataTransfer.effectAllowed = 'copy';