Files
ai-teacher/frontend/.env.example
2026-04-06 14:29:53 +02:00

15 lines
746 B
Bash

# Base URL for the backend API.
# In development with the Vite proxy this can be left as the default (/api/v1).
# In production point it directly at the backend, e.g. https://api.example.com/api/v1
VITE_API_URL=/api/v1
# Credentials are no longer configured here. Users enter their username and
# password via the login form. The backend validates them via HTTP Basic Auth.
# Configure the backend credentials with APP_AUTH_USERNAME and APP_PASSWORD.
# Set to 'false' to hide the upload UI (frontend). Also set UPLOAD_ENABLED=false on the backend to block the endpoint.
VITE_UPLOAD_ENABLED=true
# Set to 'false' to hide the delete button (frontend). Also set DELETE_ENABLED=false on the backend to block the endpoint.
VITE_DELETE_ENABLED=true