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); });