v3: added attachments to resources, allow users to paste images into TextEditor, strengthened WS reliability

This commit is contained in:
khannurien
2026-03-27 08:53:32 +00:00
parent ca70bdc14b
commit f0f6472db6
19 changed files with 450 additions and 57 deletions

View File

@@ -13,11 +13,12 @@ GERBEUR_LISTEN_HOST=0.0.0.0
# Port the API server listens on
GERBEUR_PORT=8000
# Comma-separated list of origins allowed to make cross-origin requests.
# In dev: Vite's dev server URL (check actual host/port in Vite output).
# In prod (same container): your public domain.
# Comma-separated list of extra origins allowed to reach the API/WS cross-origin.
# The server's own BASE_URL is always allowed automatically.
# In dev: add Vite's dev server URL (check actual host/port in Vite output).
# In prod with a separate frontend host: add that public frontend origin here.
# Example: http://localhost:3000,http://127.0.0.1:3000
GERBEUR_ALLOWED_ORIGINS=http://localhost:3000
GERBEUR_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
# Secret key used to sign JWTs. Generate with: openssl rand -hex 32
GERBEUR_JWT_SECRET=