From b1f562c8e827020d3ff4f8052356cbf968ad77b5 Mon Sep 17 00:00:00 2001 From: Radionic Date: Wed, 4 Oct 2023 18:45:24 +0800 Subject: [PATCH] update preview url --- js/state.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/state.js b/js/state.js index 8a01d21..65b0b26 100644 --- a/js/state.js +++ b/js/state.js @@ -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);