-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
52 lines (48 loc) · 1.47 KB
/
Copy pathwrangler.jsonc
File metadata and controls
52 lines (48 loc) · 1.47 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
47
48
49
50
51
52
{
// EasyInstall VPS — Cloudflare Worker Config
// Deploy: wrangler deploy
"name": "easyinstall-vps",
"main": "worker.js",
"compatibility_date": "2025-01-01",
// Environment variables — code में env.VAR_NAME से access होती हैं
"vars": {
"SITE_NAME": "EasyInstallVPS",
"VERSION": "7.0",
"GITHUB_RAW": "https://raw.githubusercontent.com/YOUR_USERNAME/YOUR_REPO/main"
},
// R2 Bucket — engine files store करने के लिए (optional, GitHub fallback है)
// Step 1: wrangler r2 bucket create easyinstall-files
// Step 2: Uncomment below
// "r2_buckets": [
// {
// "binding": "FILES_BUCKET",
// "bucket_name": "easyinstall-files"
// }
// ],
// Custom domain (CF Dashboard में add करें)
// "routes": [
// {
// "pattern": "easyinstallvps.yourdomain.com/*",
// "zone_name": "yourdomain.com"
// }
// ],
// Production environment
"env": {
"production": {
"name": "easyinstall-vps",
"vars": {
"SITE_NAME": "EasyInstallVPS",
"VERSION": "7.0",
"GITHUB_RAW": "https://raw.githubusercontent.com/YOUR_USERNAME/YOUR_REPO/main"
}
},
"preview": {
"name": "easyinstall-vps-preview",
"vars": {
"SITE_NAME": "EasyInstallVPS Preview",
"VERSION": "7.0-preview",
"GITHUB_RAW": "https://raw.githubusercontent.com/YOUR_USERNAME/YOUR_REPO/dev"
}
}
}
}