Refactor PVC models and update tests
- Updated the PVC models in the database and adjusted the tests accordingly to reflect the new model counts and codes. - Removed deprecated models from the JSON data for PVC systems. - Added new GLB models for "scorrevole_sf_3_ante" and "scorrevole_sf_4_ante". - Enhanced the development scripts to streamline the build process for both frontends. - Updated documentation to reflect changes in the development environment and deployment process. - Improved the styling of texture radio options for better visibility. - Fixed URL handling in the configurator to ensure proper routing and API calls.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
const BASE = import.meta.env.VITE_API_BASE || 'http://localhost:8000/api'
|
||||
// L'app cliente è servita dal backend stesso (/preventivo/): l'API è sulla stessa origine.
|
||||
const BASE = import.meta.env.VITE_API_BASE || `${window.location.origin}/api`
|
||||
|
||||
async function request(path, options = {}) {
|
||||
const res = await fetch(`${BASE}${path}`, {
|
||||
|
||||
Reference in New Issue
Block a user