引入 husky,并全局重新格式化

This commit is contained in:
2025-06-07 11:49:57 +08:00
parent 05fce179c9
commit c7527177b0
89 changed files with 2140 additions and 1899 deletions

View File

@@ -50,7 +50,7 @@ export async function GET(req: NextRequest) {
const body = JSON.stringify(params)
return NextResponse.json(body)
case 'text':
const text = result.data.map(item => {
const text = result.data.map((item) => {
const list = [item.host, item.port]
if (item.username && item.password) {
list.push(item.username)