Routing
oc run activates a deployment on the running platform, then prints that Worker's default platform_path URL (platform origin + path prefix). Default origin: http://127.0.0.1:8787.
sh
bun run oc run --config examples/hello-worker/open-compute.json --ocd "$PWD/target/debug/ocd"
# Worker is serving at http://127.0.0.1:8787/<path>HTTP requests that hit the path bound to the Worker are handled by fetch. Static Assets HTML trailing-slash / SPA / Worker-first routing concepts match Cloudflare Static Assets routing; see Static Assets.
Compatibility
| Topic | Cloudflare | open-compute |
|---|---|---|
HTTP on the bound path is handled by fetch | Yes | Yes |
| Static Assets HTML trailing-slash / SPA / Worker-first | Yes | Yes — Static Assets |
| Custom Domains | Yes | Not provided |
| workers.dev | Yes | Not provided |
| Cloudflare zone Routes / Page Rules | Yes | Not provided |
routes / workers_dev in the project file | Yes | Not allowed |
| Preview URL | *.workers.dev / Cloudflare preview | Local URL printed by oc run |
| Deployment and route authority | Cloudflare control plane | Local SQLite and one supervised runtime generation |