This commit is contained in:
Kseninia Mikhaylova 2024-08-12 12:39:20 +03:00
parent 5bb6a7db66
commit c88c51fdd1
2 changed files with 2 additions and 2 deletions

View File

@ -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'
VITE_SERVER_URL='https://demo.kustarshina.ru'

View File

@ -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 {