We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bcc27cf + 7444e66 commit 7a0c6d7Copy full SHA for 7a0c6d7
src/pages/search/[q].astro
@@ -2,7 +2,7 @@
2
import List from '../../components/list.astro'
3
import { getChannelInfo } from '../../lib/telegram'
4
5
-const q = Astro.url.searchParams.get('q') || Astro.params.q
+const q = Astro.url.searchParams.get('q') || decodeURIComponent(Astro.params.q || '')
6
const channel = await getChannelInfo(Astro, {
7
q,
8
})
0 commit comments