-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathenv.example
More file actions
35 lines (28 loc) · 1.06 KB
/
env.example
File metadata and controls
35 lines (28 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Flow Access API URL
FLOW_ACCESS_API_URL=https://rest-mainnet.onflow.org
# Database configuration
DATABASE_PATH=./flow-templates-db.sqlite
DATABASE_URL=sqlite:./flow-templates-db.sqlite
# Server configuration
PORT=3000
# File paths
AUDITORS_JSON_FILE=./auditors/auditors.json
NAMES_JSON_FILE=./names/names.json
TEMPLATE_DIR=./templates
# FCL Configuration (latest version)
FLOW_NETWORK=mainnet
DISCOVERY_WALLET=https://fcl-discovery.onflow.org/mainnet/authn
# Optional: Mixpanel token for analytics
MIXPANEL_TOKEN=your_mixpanel_token_here
# CORS Configuration
# Allowed origins for cross-origin requests
# Use "*" to allow all origins (development only)
# Use comma-separated list for multiple specific origins
# Examples:
# ALLOWED_ORIGINS=*
# ALLOWED_ORIGINS=https://yourapp.com,https://www.yourapp.com,http://localhost:3000
# ALLOWED_ORIGINS=https://flow-wallet.com,https://flowscan.org
ALLOWED_ORIGINS=*
# Whether to allow credentials (cookies, authorization headers) in CORS requests
# Set to "true" to allow credentials, "false" to disallow
ALLOW_CREDENTIALS=true