-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.example.toml
More file actions
52 lines (44 loc) · 1.41 KB
/
wrangler.example.toml
File metadata and controls
52 lines (44 loc) · 1.41 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
name = "frontend"
main = ".svelte-kit/cloudflare/_worker.js"
compatibility_flags = [ "nodejs_compat" ]
compatibility_date = "2025-12-17"
preview_urls = false
minify = true
routes = [
{ pattern = "instafication.shop", custom_domain = true },
{ pattern = "www.instafication.shop", custom_domain = true }
]
[assets]
directory = ".svelte-kit/cloudflare"
binding = "ASSETS"
[observability.logs]
enabled = true
[placement]
mode = "smart"
[[d1_databases]]
binding = "DB"
database_name = "prod"
database_id = "" # 13343-3211-1234-aeab-ea0a2fa81a6d"
migrations_dir = "drizzle/migrations"
experimental_remote = true
[vars]
ENVIRONMENT = "production"
# Public keys (safe to commit)
PUBLIC_POSTHOG_KEY = ""
PUBLIC_POSTHOG_HOST = "https://eu.i.posthog.com"
STRIPE_PUBLISHABLE_KEY = ""
# ============================================================================
# SECRETS - Set these via Cloudflare dashboard or `wrangler secret put`
# Do NOT put actual values in this file!
# ============================================================================
#
# Required secrets:
# wrangler secret put RESEND_API_KEY
# wrangler secret put BETTER_AUTH_SECRET
# wrangler secret put STRIPE_SECRET_KEY
# wrangler secret put STRIPE_WEBHOOK_SECRET
# wrangler secret put CLOUDFLARE_D1_TOKEN
#
# Generate a secure BETTER_AUTH_SECRET:
# openssl rand -base64 32
# ============================================================================