update preview url

This commit is contained in:
Radionic
2023-10-04 18:46:41 +08:00
parent 976ddc8348
commit b1f562c8e8
+2 -1
View File
@@ -16,7 +16,8 @@ import { van } from "./van.js";
export const iframeSrc = van.state("https://editor.avatech.ai?comfyui=true");
export const showEditor = van.state(false);
export const previewUrl = van.state("https://editor.avatech.ai/viewer/default");
export const previewUrl = van.state("https://editor.avatech.ai/viewer?avatarId=default&hideUI=true&debug=true&width=300&height=300&showAudioControl=true");
// export const previewUrl = van.state("http://localhost:3006/viewer?avatarId=default&hideUI=true&debug=true&width=300&height=300&showAudioControl=true");
export const isDirty = van.state(false);
export const fileName = van.state('');
export const showImageEditor = van.state(false);