29 lines
939 B
Plaintext
29 lines
939 B
Plaintext
# Example Environment Variables for Attune Web UI
|
|
# Copy this file to .env.development or .env.local and customize as needed
|
|
|
|
# API Base URL
|
|
# For local development with Vite proxy (RECOMMENDED):
|
|
# Leave commented out or set to empty string
|
|
# This uses the proxy configuration in vite.config.ts
|
|
# Avoids CORS issues during development
|
|
# VITE_API_BASE_URL=
|
|
|
|
# For direct API access (not recommended for local dev):
|
|
# Uncomment and set to your API URL
|
|
# Requires proper CORS configuration on the backend
|
|
# VITE_API_BASE_URL=http://localhost:8080
|
|
|
|
# For production deployment:
|
|
# Set to your production API URL
|
|
# VITE_API_BASE_URL=https://api.example.com
|
|
|
|
# WebSocket URL for real-time notifications
|
|
VITE_WS_URL=ws://localhost:8081
|
|
|
|
# Application metadata
|
|
VITE_APP_NAME=Attune
|
|
VITE_APP_VERSION=0.1.0
|
|
|
|
# Note: Environment variables must start with VITE_ to be exposed to the client
|
|
# See: https://vitejs.dev/guide/env-and-mode.html
|