@gallop.software/studio 2.2.15 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -15
- package/dist/client/assets/index-CidaYZsl.js +79 -0
- package/dist/client/index.html +1 -1
- package/dist/server/index.js +11 -138
- package/dist/server/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,10 +34,6 @@ CLOUDFLARE_R2_ACCESS_KEY_ID=your_access_key
|
|
|
34
34
|
CLOUDFLARE_R2_SECRET_ACCESS_KEY=your_secret_key
|
|
35
35
|
CLOUDFLARE_R2_BUCKET_NAME=your_bucket
|
|
36
36
|
CLOUDFLARE_R2_PUBLIC_URL=https://your-cdn.example.com
|
|
37
|
-
|
|
38
|
-
# Cloudflare Cache Purge
|
|
39
|
-
CLOUDFLARE_ZONE_ID=your_zone_id
|
|
40
|
-
CLOUDFLARE_API_TOKEN=your_api_token
|
|
41
37
|
```
|
|
42
38
|
|
|
43
39
|
Add `.env.studio` to your `.gitignore`.
|
|
@@ -70,8 +66,6 @@ Studio opens in your browser on an available port (default 3001).
|
|
|
70
66
|
| `CLOUDFLARE_R2_SECRET_ACCESS_KEY` | For CDN | R2 API secret key |
|
|
71
67
|
| `CLOUDFLARE_R2_BUCKET_NAME` | For CDN | R2 bucket name |
|
|
72
68
|
| `CLOUDFLARE_R2_PUBLIC_URL` | For CDN | Public URL for your R2 bucket or custom domain |
|
|
73
|
-
| `CLOUDFLARE_ZONE_ID` | For CDN | Cloudflare zone ID for cache purge |
|
|
74
|
-
| `CLOUDFLARE_API_TOKEN` | For CDN | API token with Cache Purge permission |
|
|
75
69
|
|
|
76
70
|
## Setting Up Cloudflare R2
|
|
77
71
|
|
|
@@ -80,15 +74,6 @@ Studio opens in your browser on an available port (default 3001).
|
|
|
80
74
|
3. Copy the Access Key ID and Secret Access Key
|
|
81
75
|
4. Enable public access or set up a custom domain
|
|
82
76
|
|
|
83
|
-
## Setting Up Cache Purge (Custom Domains)
|
|
84
|
-
|
|
85
|
-
If using a custom domain for your CDN:
|
|
86
|
-
|
|
87
|
-
1. Go to Cloudflare Dashboard → select your domain → copy Zone ID from sidebar
|
|
88
|
-
2. Go to Account → API Tokens → Create Token
|
|
89
|
-
3. Add permission: Zone → Cache Purge → Edit
|
|
90
|
-
4. Copy the token value
|
|
91
|
-
|
|
92
77
|
## Metadata
|
|
93
78
|
|
|
94
79
|
Studio stores image metadata in `_data/_studio.json`:
|