match: remove redundant url argument

This commit is contained in:
dumbmoron
2024-05-15 12:46:08 +00:00
parent c5c3682462
commit 0a7cdfbbfe
2 changed files with 3 additions and 2 deletions

View File

@@ -113,7 +113,7 @@ export function runAPI(express, app, gitCommit, gitBranch, __dirname) {
return apiJSON(0, { t: errorUnsupported(lang) })
}
j = await match(parsed.host, parsed.patternMatch, chck.url, lang, chck)
j = await match(parsed.host, parsed.patternMatch, lang, chck)
.catch(() => apiJSON(0, { t: loc(lang, 'ErrorSomethingWentWrong') }))
} else {
j = apiJSON(0, {