chore: add CORS config, plan doc, update submodule
This commit is contained in:
@@ -30,3 +30,13 @@ VITE_API_BASE_URL=http://localhost:8080/api/v1
|
||||
# 6. General Settings
|
||||
GIN_MODE=release
|
||||
LOG_LEVEL=info
|
||||
|
||||
# 7. CORS Configuration
|
||||
# Comma-separated list of allowed origins for the API.
|
||||
# Use '*' to allow all origins (NOT recommended for production).
|
||||
# Example: https://dash.yourdomain.com,https://admin.yourdomain.com
|
||||
CORS_ALLOWED_ORIGINS=http://localhost:5173
|
||||
|
||||
# 8. Share Link Configuration
|
||||
# TTL for peer config share links (Go duration format)
|
||||
SHARE_LINK_TTL=24h
|
||||
|
||||
Reference in New Issue
Block a user