Skip to content

Commit a54ddad

Browse files
authored
1.88.3 (#333)
# PR Checklist - [ ] Did you check if it works normally in all models? *ignore this when it dosen't uses models* - [ ] Did you check if it works normally in all of web, local and node hosted versions? if it dosen't, did you blocked it in those versions? - [ ] Did you added a type def? # Description
2 parents b8f6b5c + 92c2cd1 commit a54ddad

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

src-tauri/tauri.conf.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"package": {
1010
"productName": "RisuAI",
11-
"version": "1.88.2"
11+
"version": "1.88.3"
1212
},
1313
"tauri": {
1414
"allowlist": {

src/ts/storage/database.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import type { OobaChatCompletionRequestParams } from '../model/ooba';
1515

1616
export const DataBase = writable({} as any as Database)
1717
export const loadedStore = writable(false)
18-
export let appVer = "1.88.2"
18+
export let appVer = "1.88.3"
1919
export let webAppSubVer = ''
2020

2121
export function setDatabase(data:Database){

src/ts/storage/globalApi.ts

+1
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,7 @@ async function fetchWithCapacitor(url: string, arg: GlobalFetchArgs): Promise<Gl
663663
async function fetchWithProxy(url: string, arg: GlobalFetchArgs): Promise<GlobalFetchResult> {
664664
try {
665665
const furl = !isTauri && !isNodeServer ? `${hubURL}/proxy2` : `/proxy2`;
666+
arg.headers["Content-Type"] ??= arg.body instanceof URLSearchParams ? "application/x-www-form-urlencoded" : "application/json";
666667
const headers = {
667668
"risu-header": encodeURIComponent(JSON.stringify(arg.headers)),
668669
"risu-url": encodeURIComponent(url),

version.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version":"1.88.2"}
1+
{"version":"1.88.3"}

0 commit comments

Comments
 (0)