Add simple auth
This commit is contained in:
@@ -3,8 +3,9 @@
|
||||
# In production point it directly at the backend, e.g. https://api.example.com/api/v1
|
||||
VITE_API_URL=/api/v1
|
||||
|
||||
# Shared password for HTTP Basic auth (must match APP_PASSWORD on the backend).
|
||||
VITE_APP_PASSWORD=changeme
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user