Skip to content

Commit

Permalink
Merge pull request #1248 from a-priestley/main
Browse files Browse the repository at this point in the history
fix(analyser): Fixed incorrect URL construction for ExplainShell API …
  • Loading branch information
skovhus authored Dec 21, 2024
2 parents ab1a154 + 82b964f commit 3b2ab83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/analyser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ export default class Analyzer {
}

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

const explainshellRawResponse = await fetch(url)
const explainshellResponse =
Expand Down

0 comments on commit 3b2ab83

Please sign in to comment.