-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
39 lines (34 loc) · 1.98 KB
/
Copy path.env.example
File metadata and controls
39 lines (34 loc) · 1.98 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
# =============================================================================
# iPhone 15 Showcase – Optional environment variables
# =============================================================================
#
# You do NOT need to copy this file or set any variables to run the project.
# npm run dev and npm run build work without a .env file.
#
# To use optional features (e.g. Sentry), copy this file to .env and fill in
# only the values you need:
#
# cp .env.example .env
#
# Then edit .env. Never commit .env (it is in .gitignore).
#
# =============================================================================
# -----------------------------------------------------------------------------
# Sentry (optional – error tracking and performance)
# -----------------------------------------------------------------------------
# The app has Sentry wired but disabled until you set VITE_SENTRY_DSN.
# Create a project at https://sentry.io and use its DSN and ingest URL below.
# Your Sentry DSN from the project settings (Settings → Client Keys).
# When set, the browser will send errors and performance data via the tunnel.
# VITE_SENTRY_DSN=https://your-key@your-org.ingest.sentry.io/your-project-id
# Full envelope URL for the tunnel. You can derive it from the DSN:
# If DSN is https://key@o123.ingest.us.sentry.io/456 then envelope URL is
# https://o123.ingest.us.sentry.io/api/456/envelope/
# Set in Vercel (or your host) so api/monitoring.ts can forward events.
# SENTRY_INGEST_URL=https://your-org.ingest.us.sentry.io/api/your-project-id/envelope/
# Same as SENTRY_INGEST_URL; used by the Vite dev server to proxy /api/monitoring.
# Only needed if you want the Sentry tunnel to work in local dev.
# VITE_SENTRY_INGEST_URL=https://your-org.ingest.us.sentry.io/api/your-project-id/envelope/
# Auth token for uploading source maps on build (Sentry → Settings → Auth Tokens).
# Optional; only used when you run npm run build with Sentry enabled.
# SENTRY_AUTH_TOKEN=your_sentry_auth_token