mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
docs: fix example secrets
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
# Docker Compose sets this URL directly; change docker-compose.yml to override it.
|
||||
VITE_API_URL=http://backend:8080
|
||||
VITE_ALLOWED_HOSTS=localhost,example.com
|
||||
# Public frontend URL, including the scheme. Use http://localhost:5173 for local Docker testing.
|
||||
ORIGIN=https://example.com
|
||||
# VITE_ALLOWED_HOSTS only affects Vite dev/preview, not the production Node server.
|
||||
# Used so that views are only counted from the frontend
|
||||
# Must be the same on both the frontend and backend environment
|
||||
# The frontend will also try to parse 'PasteSettings__View_Internal_API_Key'
|
||||
VIEW_INTERNAL_API_KEY=another_random_minimum_32_char_string
|
||||
# Production fallback: View_HMAC_Internal_API_Key (not PasteSettings__View_Internal_API_Key).
|
||||
# Replace this placeholder with the same generated value as the backend setting.
|
||||
VIEW_INTERNAL_API_KEY=replace_with_the_same_random_internal_api_key_in_both_files
|
||||
|
||||
Reference in New Issue
Block a user