fix(route/chub): Update api url (#19179)
* Update api url * remove trailing '
This commit is contained in:
parent
5a9d5b5947
commit
4ab7785e2f
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue