Skip to content

Commit

Permalink
fix(core): always ignore /cdn-cgi/* paths
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed May 17, 2023
1 parent 1365399 commit 47dfc7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/core/src/resolveConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ export const resolveUserConfig: (userConfig: UserConfig) => Promise<ResolvedUser
}
}

config.scanner!.exclude = config.scanner?.exclude || []
config.scanner!.exclude.push('/cdn-cgi/*')

config.chrome = defu(config.chrome || {}, {
useSystem: true,
useDownloadFallback: true,
Expand Down

0 comments on commit 47dfc7b

Please sign in to comment.