diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 3ce1a29a..147b0f52 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -8,7 +8,7 @@ }, "package": { "productName": "RisuAI", - "version": "1.25.1" + "version": "1.25.2" }, "tauri": { "allowlist": { diff --git a/src/ts/drive/drive.ts b/src/ts/drive/drive.ts index b4356ff9..6092caee 100644 --- a/src/ts/drive/drive.ts +++ b/src/ts/drive/drive.ts @@ -13,7 +13,7 @@ import { hubURL } from "../characterCards"; export async function checkDriver(type:'save'|'load'|'loadtauri'|'savetauri'|'reftoken'){ const CLIENT_ID = '580075990041-l26k2d3c0nemmqiu3d3aag01npfrkn76.apps.googleusercontent.com'; - const REDIRECT_URI = 'reftoken' ? 'https://sv.risuai.xyz/drive' : ((isTauri || isNodeServer) ? "https://risuai.xyz/" : `https://${location.host}/`) + const REDIRECT_URI = type === 'reftoken' ? 'https://sv.risuai.xyz/drive' : ((isTauri || isNodeServer) ? "https://risuai.xyz/" : `https://${location.host}/`) const SCOPE = 'https://www.googleapis.com/auth/drive.file https://www.googleapis.com/auth/drive.appdata'; const encodedRedirectUri = encodeURIComponent(REDIRECT_URI); const authorizationUrl = `https://accounts.google.com/o/oauth2/auth?client_id=${CLIENT_ID}&redirect_uri=${encodedRedirectUri}&scope=${SCOPE}&response_type=code&state=${type}`; diff --git a/src/ts/storage/database.ts b/src/ts/storage/database.ts index 2ff957ed..775f3baa 100644 --- a/src/ts/storage/database.ts +++ b/src/ts/storage/database.ts @@ -8,7 +8,7 @@ import { defaultAutoSuggestPrompt, defaultJailbreak, defaultMainPrompt } from '. export const DataBase = writable({} as any as Database) export const loadedStore = writable(false) -export let appVer = '1.25.1' +export let appVer = '1.25.2' export function setDatabase(data:Database){ if(checkNullish(data.characters)){ diff --git a/version.json b/version.json index 37be02f4..c7167750 100644 --- a/version.json +++ b/version.json @@ -1 +1 @@ -{"version":"1.25.1"} \ No newline at end of file +{"version":"1.25.2"} \ No newline at end of file