fix: improved searchs

This commit is contained in:
Lukian 2025-05-12 11:43:23 +02:00
parent fb90f1ef4f
commit b2d8acaa5d
9 changed files with 39 additions and 50 deletions

View file

@ -135,7 +135,7 @@ export default function Home({socket}: {socket: WebSocket}) {
return
}
axios
.get(`/api/searchchannels?search=${search}`).then((res) => {
.get(`/api/channels?search=${search}`).then((res) => {
setSearchedChannels(res.data)
}
).catch((err) => {