Files
kreios/.env
T
carmine.savino 24df94cdc3 feat: integrate Draco compression for GLB models and implement encryption for secure loading
- Added DRACOLoader to starter.js for handling compressed GLB models.
- Created a createGltfLoader function to initialize GLTFLoader with DRACOLoader.
- Implemented dracoModels plugin in vite.config.js to compress GLB models during build.
- Introduced model_loader.js for loading encrypted GLB models with WebCrypto.
- Developed encryptModels plugin to encrypt GLB files, ensuring no clear models are exposed.
- Updated asset handling to remove uncompressed GLB files post-build.
2026-10-28 10:00:09 +01:00

4 lines
316 B
Bash

# Il configuratore è servito dal backend Laravel (/configuratore/) e usa l'API sulla stessa origine:
# non serve configurare nulla. Solo per puntare a un'API su un altro dominio:
# VITE_PREVENTIVI_API_BASE=https://altro-dominio.example/api
MODELS_KEY=e03163a53325b29a83a4e84dd80af8e7ed3b15791a3e4563d75db4457cb9cea0