This commit is contained in:
Cory Dransfeldt 2024-10-19 13:57:53 -07:00
parent 4eefbd92fc
commit 085bf183b0
No known key found for this signature in database
2 changed files with 1 additions and 9 deletions

View file

@ -173,7 +173,7 @@ window.addEventListener('load', () => {
const loadSearchIndex = async (query = '', types = []) => {
const typeQuery = types.join(',')
const response = await fetch(`https://coryd.dev/api/search-beta?q=${query}&type=${typeQuery}`)
const response = await fetch(`https://coryd.dev/api/search?q=${query}&type=${typeQuery}`)
const index = await response.json()
resultsById = index.reduce((byId, result) => {