From d3e17096c4d2266f7a94d79695561a0be9b3c6b3 Mon Sep 17 00:00:00 2001 From: xion Date: Tue, 20 May 2025 00:37:11 +0800 Subject: [PATCH] add local base url --- src/command/ls-token.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/command/ls-token.ts b/src/command/ls-token.ts index f2a3bb9..4fb284e 100644 --- a/src/command/ls-token.ts +++ b/src/command/ls-token.ts @@ -167,7 +167,7 @@ const rvm = new Command('registry') .option('-s, --set ', 'set registry') .action(async (opts) => { const config = getConfig(); - const defaultRegistry = ['https://kevisual.cn', 'https://kevisual.silkyai.cn', 'https://kevisual.xiongxiao.me', 'http://localhost:4005']; + const defaultRegistry = ['https://kevisual.cn', 'https://kevisual.silkyai.cn', 'https://kevisual.xiongxiao.me', 'http://localhost:3005']; if (opts.list) { showList(defaultRegistry); return; @@ -211,7 +211,7 @@ baseURL.addCommand(xiongxiao); const local = new Command('local').description('local registry').action(async (opts) => { console.log('local registry'); const config = getConfig(); - const defaultRegistry = ['http://localhost:4005']; + const defaultRegistry = ['http://localhost:3005']; writeConfig({ ...config, baseURL: defaultRegistry[0] }); showList(defaultRegistry); });