- Change VITE_API_URL from /api to /solventum-image-metadata/api - Matches Apache ProxyPass configuration - Fixes 404 errors on API calls Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
32 lines
994 B
Text
32 lines
994 B
Text
# Frontend Environment Variables (Vite)
|
|
# Copy to .env for local development, or .env.production for build
|
|
|
|
# ======================
|
|
# API Configuration
|
|
# ======================
|
|
# IMPORTANT: Use full path for production (Apache proxy)
|
|
# Production:
|
|
VITE_API_URL=/solventum-image-metadata/api
|
|
|
|
# For local development:
|
|
# VITE_API_URL=http://localhost:5001
|
|
|
|
# ======================
|
|
# Azure AD / MSAL Configuration
|
|
# ======================
|
|
# Production values for ai-sandbox.oliver.solutions
|
|
VITE_AZURE_CLIENT_ID=9079054c-9620-4757-a256-23413042f1ef
|
|
VITE_AZURE_TENANT_ID=e519c2e6-bc6d-4fdf-8d9c-923c2f002385
|
|
|
|
# Redirect URI (must match Azure AD app registration)
|
|
# Production:
|
|
VITE_AZURE_REDIRECT_URI=https://ai-sandbox.oliver.solutions/solventum-image-metadata/
|
|
|
|
# Local development:
|
|
# VITE_AZURE_REDIRECT_URI=http://localhost:8888/solventum-image-metadata/
|
|
|
|
# ======================
|
|
# Application Configuration
|
|
# ======================
|
|
VITE_APP_NAME=Oliver Metadata Tool
|
|
VITE_APP_VERSION=4.0.0
|