Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 326 Bytes

File metadata and controls

11 lines (7 loc) · 326 Bytes

Cross-Domain Communication Demo

A simple demo showing WebSocket and HTTP communication between a React client and Cloudflare Worker server, when running on different domains. tl;dr - make sure you pass cors: true to routeAgentRequest.

Quick Start

Run the front end and agents server:

npm i && npm start