mirror of
https://github.com/SukkaW/Surge.git
synced 2026-02-03 04:21:53 +08:00
Chore: more refactor to the bun
This commit is contained in:
@@ -13,7 +13,7 @@ const getS3OSSDomains = async (): Promise<Set<string>> => {
|
||||
const publicSuffixFile = Bun.file(publicSuffixPath);
|
||||
|
||||
if (await publicSuffixFile.exists()) {
|
||||
for await (const line of readFileByLine(publicSuffixPath)) {
|
||||
for await (const line of readFileByLine(publicSuffixFile)) {
|
||||
trie.add(line);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user