From 4ab7785e2ffcc67461e0fa2257a4c5ba55e6cd7d Mon Sep 17 00:00:00 2001 From: flameleaf <18636550+flameleaf@users.noreply.github.com> Date: Thu, 22 May 2025 16:38:39 -0700 Subject: [PATCH] fix(route/chub): Update api url (#19179) * Update api url * remove trailing ' --- lib/routes/chub/characters.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/routes/chub/characters.ts b/lib/routes/chub/characters.ts index 473eb5f53..187bd7be3 100644 --- a/lib/routes/chub/characters.ts +++ b/lib/routes/chub/characters.ts @@ -13,11 +13,11 @@ export const route: Route = { async function handler() { const hostURL = 'https://www.chub.ai/characters'; - const apiURL = 'https://api.chub.ai/api/characters/search'; - const data = await ofetch(apiURL, { + const apiURL = 'https://api.chub.ai/search'; + const { data } = await ofetch(apiURL, { headers: { Accept: 'application/json' }, query: { - query: '', + search: '', first: 200, page: 1, sort: 'last_activity_at', @@ -31,8 +31,6 @@ async function handler() { require_alternate_greetings: 'false', require_custom_prompt: 'false', exclude_mine: 'false', - venus: 'true', - chub: 'true', min_tokens: 50, require_expressions: 'false', require_lore: 'false',