Files
drone-detector/.env.test.example
2025-09-07 11:15:59 +02:00

28 lines
806 B
Plaintext

# Environment configuration for test scripts
# Copy this to .env in the project root or set these as environment variables
# API Base URL - Tests default to localhost:3002 for local development
API_BASE_URL=http://localhost:3002/api
# For production/remote testing, update to your deployment:
# API_BASE_URL=https://your-domain.com/uggla/api
# Base path (should match VITE_BASE_PATH)
VITE_BASE_PATH=/uggla
# Authentication configuration
TEST_USERNAME=admin
TEST_PASSWORD=admin123
# Skip authentication for local testing (set to 'true' to disable auth)
SKIP_AUTH=false
# Alternative configurations:
# For local development:
# API_BASE_URL=http://localhost:3002/api
# VITE_BASE_PATH=
# For production with different base path:
# API_BASE_URL=https://your-domain.com
# VITE_BASE_PATH=/your-custom-path