@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
ts 13 lines 758 Bytes
Raw
1 import { defineCloudflareConfig } from "@opennextjs/cloudflare";
2 import staticAssetsIncrementalCache from "@opennextjs/cloudflare/overrides/incremental-cache/static-assets-incremental-cache";
3 import memoryQueue from "@opennextjs/cloudflare/overrides/queue/memory-queue";
4
5 export default defineCloudflareConfig({
6 // Read-only incremental cache backed by the ASSETS binding — no KV/R2/D1
7 // required, so the fixture stays fully local. ISR pages serve their
8 // prerendered payloads; revalidation writes are no-ops (a known dev-v1
9 // limitation until cloudflare-runtime grows local writable storage).
10 incrementalCache: staticAssetsIncrementalCache,
11 // Exercises the WORKER_SELF_REFERENCE service binding for revalidation.
12 queue: memoryQueue,
13 });