[fix] invaild tag nsfw
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
},
|
},
|
||||||
"package": {
|
"package": {
|
||||||
"productName": "RisuAI",
|
"productName": "RisuAI",
|
||||||
"version": "1.23.0"
|
"version": "1.23.1"
|
||||||
},
|
},
|
||||||
"tauri": {
|
"tauri": {
|
||||||
"allowlist": {
|
"allowlist": {
|
||||||
|
|||||||
@@ -585,7 +585,7 @@ export async function shareRisuHub(char:character, arg:{
|
|||||||
let tagList = arg.tag.split(',')
|
let tagList = arg.tag.split(',')
|
||||||
|
|
||||||
if(arg.nsfw){
|
if(arg.nsfw){
|
||||||
tagList.push("NSFW")
|
tagList.push("nsfw")
|
||||||
}
|
}
|
||||||
if(arg.privateMode){
|
if(arg.privateMode){
|
||||||
tagList.push("private")
|
tagList.push("private")
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import { defaultAutoSuggestPrompt, defaultJailbreak, defaultMainPrompt } from '.
|
|||||||
|
|
||||||
export const DataBase = writable({} as any as Database)
|
export const DataBase = writable({} as any as Database)
|
||||||
export const loadedStore = writable(false)
|
export const loadedStore = writable(false)
|
||||||
export let appVer = '1.23.0'
|
export let appVer = '1.23.1'
|
||||||
|
|
||||||
export function setDatabase(data:Database){
|
export function setDatabase(data:Database){
|
||||||
if(checkNullish(data.characters)){
|
if(checkNullish(data.characters)){
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":"1.23.0"}
|
{"version":"1.23.1"}
|
||||||
Reference in New Issue
Block a user