Skip to content

Commit 3b2ab83

Browse files
authored
Merge pull request #1248 from a-priestley/main
fix(analyser): Fixed incorrect URL construction for ExplainShell API …
2 parents ab1a154 + 82b964f commit 3b2ab83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: server/src/analyser.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ export default class Analyzer {
633633
}
634634

635635
const searchParams = new URLSearchParams({ cmd: interestingNode.text }).toString()
636-
const url = `${endpoint}/api/explain?${searchParams}`
636+
const url = `${endpoint}/explain?${searchParams}`
637637

638638
const explainshellRawResponse = await fetch(url)
639639
const explainshellResponse =

0 commit comments

Comments
 (0)