diff --git a/front/.env.development b/front/.env.development index 707e245..e3046d5 100644 --- a/front/.env.development +++ b/front/.env.development @@ -1,3 +1,3 @@ VITE_SERVER_URL='https://demo.kustarshina.ru' VITE_IMAGE_URL='https://demo.kustarshina.ru' -VITE_SERVER_URL='http://192.168.103.159:8000' \ No newline at end of file +VITE_SERVER_URL='https://demo.kustarshina.ru' \ No newline at end of file diff --git a/front/src/components/Promo/load_models.vue b/front/src/components/Promo/load_models.vue index 7077fd1..95eaf6b 100644 --- a/front/src/components/Promo/load_models.vue +++ b/front/src/components/Promo/load_models.vue @@ -52,7 +52,7 @@ const loadModels = async () => { const res = await fetch(`${SERVER_URL}/api/obj/scene/${props.source}`) const raw_data = await res.json() as scene3D - envVars.focus = raw_data.min_distance * 1 + envVars.focus = raw_data.max_distance * 0.5 if (raw_data.env) { Object.assign(envVars, raw_data.env) } else {