Skip to content

Commit 3d9fe88

Browse files
committed
deploy to custom domain
1 parent 2afa420 commit 3d9fe88

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
A custom [socket.io](https://socket.io/) build for serverless environments. Currently [Cloudflare Worker + Durable Objects](https://developers.cloudflare.com/durable-objects/).
44

5+
Demo client app: [sio-serverless-demo-client](https://sio-serverless-demo-client.ihate.work) running `demo-client/` `demo-server/` code in this repo.
6+
57
## Getting started
68

79
The following example assumes you already know the Cloudflare products and `wrangler` CLI.

demo-client/wrangler.toml

+4
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,9 @@ name = "sio-serverless-demo-client-assets"
44
assets = { directory = "./static", html_handling = "auto-trailing-slash", not_found_handling = "single-page-application" }
55
compatibility_date = "2024-09-25"
66

7+
routes = [
8+
# { pattern = 'sio-serverless-demo-client.ihate.work', custom_domain = true }
9+
]
10+
711
[dev]
812
port = 18789

0 commit comments

Comments
 (0)