[fix] chub and description in web

This commit is contained in:
kwaroran
2023-06-25 17:19:08 +09:00
parent 6810020376
commit 747ee3ea28
3 changed files with 3 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/logo.png" />
<meta name="description" content="An AI frontend for both light and core users.">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>RisuAI</title>
</head>

View File

@@ -3,7 +3,7 @@
import { language } from "src/lang";
import Help from "src/lib/Others/Help.svelte";
import { DataBase } from "src/ts/storage/database";
import { customProviderStore, getCurrentPluginMax } from "src/ts/process/plugins";
import { customProviderStore, getCurrentPluginMax } from "src/ts/plugins/plugins";
import { isTauri } from "src/ts/storage/globalApi";
import { tokenize } from "src/ts/tokenizer";
import ModelList from "src/lib/UI/ModelList.svelte";

View File

@@ -132,7 +132,7 @@ export async function characterHubImport() {
const url = new URL(location.href);
url.searchParams.delete('charahub');
window.history.pushState(null, '', url.toString());
const chara = await fetch("https://api.characterhub.org/api/characters/download", {
const chara = await fetch("https://api.chub.ai/api/characters/download", {
method: "POST",
body: JSON.stringify({
"format": "tavern",