Skip to content

Commit

Permalink
Update worker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kerivin authored Nov 22, 2024
1 parent cd1f0b3 commit 226386c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async function onInlineQuery (inlineQuery) {
}

const json = await response.json();
console.log("Json: ", JSON.stringify(json));
console.log("JSON: ", JSON.stringify(json));

const url = new URL(inlineQuery.query)
console.log("Hostname: ", url.hostname)
Expand All @@ -110,7 +110,7 @@ async function onInlineQuery (inlineQuery) {

console.log("Fixed URL: ", url)
const fixedURL = url.toString()
const markdownURL = `[link](${fixedURL})`
const markdownURL = `[embed link](${fixedURL})`

results.push({
type: 'article',
Expand Down

0 comments on commit 226386c

Please sign in to comment.