Files
emdash-patch-imageupload/fixtures/perf-site/wrangler.jsonc
kunthawat 2d1be52177 Emdash source with visual editor image upload fix
Fixes:
1. media.ts: wrap placeholder generation in try-catch
2. toolbar.ts: check r.ok, display error message in popover
2026-05-03 10:44:54 +07:00

27 lines
664 B
JSON

{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "emdash-perf-fixture",
"main": "./src/worker.ts",
"compatibility_date": "2026-02-24",
"compatibility_flags": ["nodejs_compat"],
// Query instrumentation is always on for this fixture — it exists
// specifically to run under the query-count harness. The flag costs a
// per-query Kysely log dispatch; it's intentional here.
"vars": {
"EMDASH_QUERY_LOG": "1",
},
"d1_databases": [
{
"binding": "DB",
"database_name": "emdash-perf-fixture",
"database_id": "local",
},
],
"r2_buckets": [
{
"binding": "MEDIA",
"bucket_name": "emdash-perf-fixture-media",
},
],
}