latest changes

This commit is contained in:
Joren de Graaf
2026-10-14 18:02:27 +02:00
parent 2934662d7a
commit b72283818c
19 changed files with 201 additions and 28 deletions
+3 -3
View File
@@ -161,10 +161,10 @@ USE_TZ = True
STATIC_URL = 'static/'
MEDIA_ROOT = BASE_DIR / 'private_media'
# Vite writes production assets and its manifest here. In development templates
# load modules from the Vite server configured by VITE_DEV_SERVER.
# Vite writes built assets and its manifest here. Use the Vite server only when
# explicitly requested by the HMR workflow.
VITE_DEV_SERVER = os.environ.get('VITE_DEV_SERVER', 'http://localhost:5173')
VITE_USE_DEV_SERVER = os.environ.get('VITE_USE_DEV_SERVER', str(DEBUG)).lower() in {'1', 'true', 'yes'}
VITE_USE_DEV_SERVER = os.environ.get('VITE_USE_DEV_SERVER', 'false').lower() in {'1', 'true', 'yes'}
VITE_MANIFEST_PATH = BASE_DIR / 'planner' / 'static' / 'planner' / 'dist' / '.vite' / 'manifest.json'
# Open Food Facts is queried only by explicit food search or product lookup.