-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
32 lines (26 loc) · 912 Bytes
/
.env.example
File metadata and controls
32 lines (26 loc) · 912 Bytes
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
# Weather App Configuration
# Default Location Settings
# Default city and coordinates (San Francisco, California)
NEXT_PUBLIC_DEFAULT_CITY="San Francisco, California"
NEXT_PUBLIC_DEFAULT_LAT=37.7749
NEXT_PUBLIC_DEFAULT_LON=-122.4194
# Temperature Unit (celsius or fahrenheit)
NEXT_PUBLIC_TEMP_UNIT=celsius
# API Timeout Settings (in milliseconds)
# Timeout for weather API requests
NEXT_PUBLIC_API_TIMEOUT=10000
# Timeout for geolocation requests
NEXT_PUBLIC_GEO_TIMEOUT=5000
# Cache Settings (in milliseconds)
# How long to cache weather data (10 minutes)
NEXT_PUBLIC_CACHE_TTL=600000
# Refresh Settings (in milliseconds)
# Auto-refresh interval (10 minutes)
NEXT_PUBLIC_REFRESH_INTERVAL=600000
# Feature Flags
# Enable automatic weather refresh
NEXT_PUBLIC_ENABLE_AUTO_REFRESH=true
# Enable dark mode support
NEXT_PUBLIC_ENABLE_DARK_MODE=true
# Enable weather data caching
NEXT_PUBLIC_ENABLE_CACHE=true