mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Refactor: make Node.js run compatible
This commit is contained in:
@@ -62,7 +62,7 @@ export const parseDomesticList = async () => {
|
||||
};
|
||||
|
||||
// await Promise.all([
|
||||
await runAgainstRuleset(path.resolve(import.meta.dir, '../List/non_ip/domestic.conf'));
|
||||
await runAgainstRuleset(path.resolve(__dirname, '../List/non_ip/domestic.conf'));
|
||||
// ]);
|
||||
|
||||
console.log(notIncludedDomestic.size, notIncludedDomestic);
|
||||
|
||||
Reference in New Issue
Block a user