forked from virgilvox/quirc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
32 lines (23 loc) · 1005 Bytes
/
.env.example
File metadata and controls
32 lines (23 loc) · 1005 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
# QUIRC Environment Variables
# Copy this to .env and fill in your values
# === Client-side (exposed to browser via VITE_ prefix) ===
# IRC server hostname (displayed in UI)
VITE_DEFAULT_SERVER=irc.heatsynclabs.chat
# IRC server port (displayed in UI)
VITE_DEFAULT_PORT=6697
# WebSocket gateway URL (what the client actually connects to)
VITE_GATEWAY_URL=wss://irc.heatsynclabs.chat
# Comma-separated channels to auto-join on connect
VITE_AUTO_JOIN=#general,#random
# Netlify Function endpoints (relative paths for same-origin, or full URLs)
VITE_UPLOAD_API=/api/upload-url
VITE_UNFURL_API=/api/unfurl
# === Server-side (Netlify Functions only, NOT exposed to browser) ===
# DigitalOcean Spaces credentials for file uploads
DO_SPACES_KEY=
DO_SPACES_SECRET=
DO_SPACES_REGION=sfo3
DO_SPACES_BUCKET=heatsync
DO_SPACES_CDN_DOMAIN=heatsync.sfo3.cdn.digitaloceanspaces.com
# Allowed origins for CORS on Netlify Functions (comma-separated for multiple deployments)
CORS_ORIGIN=https://heatsynclabs.chat