refactor: Update characterCards.ts to use new API endpoint for downloading character images
This commit is contained in:
@@ -933,7 +933,7 @@ export async function downloadRisuHub(id:string) {
|
||||
type: "wait",
|
||||
msg: "Downloading..."
|
||||
})
|
||||
const res = await fetch(hubURL + '/hub/get/' + id, {
|
||||
const res = await fetch("https://realm.risuai.net/api/v1/download/png-v3/" + id + '?cross=true', {
|
||||
headers: {
|
||||
"x-risu-api-version": "4"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user