Added search

This commit is contained in:
Mawoka
2022-04-14 15:28:43 +02:00
parent 5d4ace77a9
commit afefa1928f
3 changed files with 96 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<script lang='ts'>
const getData = async () => {
const response = await fetch('/api/v1/search/search?q=*');
const response = await fetch('/api/v1/search/?q=*');
return await response.json();
};
</script>