Open History to see the last commit
1{
2 "$schema": "../../node_modules/wrangler/config-schema.json",
3 // Default environment: anyone can clone this example and `pnpm run deploy`
4 // it to their own account — it runs at the root of their workers.dev
5 // subdomain and reads from the live modelschemas API (override with
6 // MODELSCHEMAS_URL at build time).
7 "name": "video-composer-example",
8 "compatibility_date": "2025-09-02",
9 "compatibility_flags": ["nodejs_compat"],
10 "main": "src/worker.ts",
11 "workers_dev": true,
12 "observability": {
13 "enabled": true,
14 },
15 // The canonical deployment: built with CLOUDFLARE_ENV=modelschemas (which
16 // also switches the vite base to /examples/video-composer/), served on the
17 // main site via a zone route that takes precedence over the
18 // modelschemas.com custom domain for this path.
19 "env": {
20 "modelschemas": {
21 "name": "modelschemas-example-video-composer",
22 "workers_dev": false,
23 "observability": {
24 "enabled": true,
25 },
26 "routes": [
27 {
28 "pattern": "modelschemas.com/examples/video-composer/*",
29 "zone_name": "modelschemas.com",
30 },
31 ],
32 },
33 },
34}