add possibility to disable delete and upload of books

This commit is contained in:
Adrien
2026-04-06 14:09:17 +02:00
parent 5c641f4bcc
commit e5d53b4e80
7 changed files with 41 additions and 2 deletions
+6
View File
@@ -5,3 +5,9 @@ VITE_API_URL=/api/v1
# Shared password for HTTP Basic auth (must match APP_PASSWORD on the backend).
VITE_APP_PASSWORD=changeme
# 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