Skip to content

Commit

Permalink
fix: 规则解析
Browse files Browse the repository at this point in the history
  • Loading branch information
aooiuu committed Jul 24, 2024
1 parent a038480 commit f87b3fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/src/analyzer/AnalyzerManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@ export class AnalyzerManager {

async getUrl(rule: string, host: string): Promise<string> {
let url = await this.getString(rule)
if (typeof url !== 'string')
return url

if (url.startsWith('//')) {
if (host.startsWith('https'))
Expand Down

0 comments on commit f87b3fb

Please sign in to comment.