mirror of
https://github.com/johndoe6345789/snippet-pastebin.git
synced 2026-04-24 13:34:55 +00:00
17 lines
744 B
Plaintext
17 lines
744 B
Plaintext
# Frontend Configuration
|
|
# Flask Backend URL - If set, the app will automatically use Flask backend instead of IndexedDB
|
|
# Development: VITE_FLASK_BACKEND_URL=http://localhost:5000
|
|
# Production: VITE_FLASK_BACKEND_URL=https://backend.example.com
|
|
VITE_FLASK_BACKEND_URL=
|
|
|
|
# Backend Configuration (for backend/app.py)
|
|
# CORS Allowed Origins - Comma-separated list of allowed frontend URLs
|
|
# Development: CORS_ALLOWED_ORIGINS=*
|
|
# Production: CORS_ALLOWED_ORIGINS=https://frontend.example.com
|
|
# Multiple: CORS_ALLOWED_ORIGINS=https://frontend.example.com,https://app.example.com
|
|
CORS_ALLOWED_ORIGINS=*
|
|
|
|
# Database Path - Location of SQLite database file in backend
|
|
# Default: DATABASE_PATH=/app/data/snippets.db
|
|
DATABASE_PATH=/app/data/snippets.db
|