-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.env.local.example
More file actions
39 lines (30 loc) · 1.45 KB
/
.env.local.example
File metadata and controls
39 lines (30 loc) · 1.45 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
# Local Development Environment
# This file is for local development only and will be ignored by git
# ================================
# GitHub API Configuration
# ================================
# For local development, you can use the default GitHub API
VITE_GITHUB_API_URL=https://api.github.com
# For ACME GitHub Enterprise (uncomment to use):
# Replace 'acme.com' with your actual GitHub Enterprise domain
# VITE_GITHUB_API_URL=https://ghe.acme.com/api/v3
# VITE_GITHUB_AVATAR_URL=https://avatars.ghe.acme.com
# VITE_GITHUB_BASE_URL=https://ghe.acme.com
# ================================
# Development Rate Limiting
# ================================
# For development, you might want a lower rate limit to test rate limiting behavior
# Or a higher limit if you're doing intensive testing
VITE_MAX_REQUESTS_PER_MINUTE=100
# ================================
# Development Notes
# ================================
# 1. This file should be copied to .env.local for your local development
# 2. .env.local is gitignored and won't be committed to the repository
# 3. Values in .env.local override values in .env.example
# 4. Vite automatically loads .env.local in development mode
# For testing with GitHub Enterprise Server:
# VITE_GITHUB_API_URL=https://ghe.your-company.com/api/v3
# VITE_GITHUB_AVATAR_URL=https://avatars.ghe.your-company.com
# VITE_GITHUB_BASE_URL=https://ghe.your-company.com
# Note: Avatar and Base URLs are auto-detected from API URL if not specified