-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
46 lines (39 loc) · 2.34 KB
/
Copy path.env.example
File metadata and controls
46 lines (39 loc) · 2.34 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
36
37
38
39
40
41
42
43
44
45
46
# Public site name (optional). Overrides the default "harustream".
NEXT_PUBLIC_SITE_NAME=harustream
# Provider manifest (urls.json) that lists every streaming channel and its
# home URL. The API fetches this live, merges it with the sibling manifest.json
# (module dir, type, version), and executes the provider modules fetched from
# the same repo's dist/ directory. No provider host is hardcoded in source.
# Required. If you run a fork, point at your own urls.json.
#
# Read by the provider runtime (packages/provider-runtime), which executes
# inside the Next.js route handlers — it must be set in the Vercel project
# environment (Production, Preview, Development) and in your local .env.
PROVIDER_MANIFEST_URL=https://raw.githubusercontent.com/Zenda-Cross/vega-providers/refs/heads/main/urls.json
# Provider module execution timeout (ms) and the number of times fetching the
# manifest/modules is retried before giving up. Defaults: 20000 / 2.
# PROVIDER_TIMEOUT_MS=20000
# PROVIDER_MAX_ATTEMPTS=2
# Max concurrent provider executions for fan-out endpoints (/api/search,
# /api/featured without a provider) and the overall deadline (ms) for the
# whole fan-out. Defaults: 6 / 12000.
# PROVIDER_CONCURRENCY=6
# PROVIDER_DEADLINE_MS=12000
# Structured log level for the Next.js runtime (fatal|error|warn|info|debug|trace).
# Defaults to debug in development and info in production.
# LOG_LEVEL=debug
# Web streaming proxy behaviour (/api/proxy + /api/image).
# STREAM_PROXY_USER_AGENT= Custom User-Agent presented to provider hosts.
# STREAM_PROXY_REFERER= Custom Referer presented to provider hosts.
# STREAM_PROXY_ALLOW_PRIVATE= Set "1" to permit private/internal upstream hosts (dev only).
#
# The Vega (VidSpark) CDN rejects any request whose Referer is not
# vidspark.to — the proxy injects this on every upstream media request.
STREAM_PROXY_REFERER=https://vidspark.to/
# Provider data is NOT configured here. The app fetches the live provider
# list (ids, names, availability) from the manifest at runtime, and every
# catalog/meta/episode/stream request executes the provider's module from
# the manifest repo's dist/ directory. The manifest is the single source of truth.
# Comma-separated origins hosting the poster artwork, used for <link
# rel="preconnect"> on first paint. Optional.
NEXT_PUBLIC_IMAGE_ORIGINS=https://m.media-amazon.com,https://image.tmdb.org