Files
gh-jezweb-claude-skills-ski…/templates/cloudflare-workers/wrangler.jsonc
2025-11-30 08:25:30 +08:00

27 lines
752 B
JSON

{
"name": "sveltia-cms-auth",
"main": "src/index.ts",
"compatibility_date": "2025-10-24",
"account_id": "", // Add your Cloudflare account ID here
// Environment variables (set via: npx wrangler secret put VARIABLE_NAME)
// Required:
// - GITHUB_CLIENT_ID: Your GitHub OAuth App Client ID
// - GITHUB_CLIENT_SECRET: Your GitHub OAuth App Client Secret
//
// Optional:
// - GITLAB_APPLICATION_ID: Your GitLab Application ID
// - GITLAB_SECRET: Your GitLab Application Secret
// - ALLOWED_DOMAINS: Comma-separated list of allowed domains (e.g., "yourdomain.com,*.yourdomain.com")
"vars": {
// Public variables (safe to commit)
"ENVIRONMENT": "production"
},
// For development
"dev": {
"port": 8787
}
}