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