From 6eaa89adad0e59588cc2288c6a0bd155a206b164 Mon Sep 17 00:00:00 2001 From: Tobias Baunbaek Date: Thu, 7 Dec 2023 15:02:15 +0100 Subject: [PATCH] Change headline --- guides/making-a-pear-app.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/making-a-pear-app.md b/guides/making-a-pear-app.md index 73d1c07..1a9bbbc 100644 --- a/guides/making-a-pear-app.md +++ b/guides/making-a-pear-app.md @@ -220,6 +220,6 @@ In a traditional client-server setup the server is hosted on an ip (or hostname) In our code it says `swarm.join(topicBuffer, { client: true, server: true })`. Here `topicBuffer` is a 32 byte string. The creator of a chat room will create a random byte string, which they will share with others, who can then join. -### 2. There are no server +### 2. No servers When the chat app was started there wasn't one of them that acting as a server, and another as a client. Instead they join/leave topics. This is an important point, because it means that even if the peer that created a chat room leaves, then it doesn't stop working.