Skip to content

Commit

Permalink
Update collector.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vfarid committed May 31, 2024
1 parent 48a4f7b commit e51a232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export async function GetConfigList(url: URL, env: Env): Promise<Array<Config>>

if (protocols.includes("built-in-vless")) {
finalConfigList = AddNumberToConfigs(finalConfigList, maxVlessConfigs + 1)
finalConfigList = (await GetVlessConfigList(url.hostname, cleanDomainIPs, maxVlessConfigs, env)).concat(finalConfigList)
finalConfigList = (await GetVlessConfigList(url.hostname, cleanDomainIPs, 1, maxVlessConfigs, env)).concat(finalConfigList)
} else {
finalConfigList = AddNumberToConfigs(finalConfigList, 1)
}
Expand Down

0 comments on commit e51a232

Please sign in to comment.