@@ -34,7 +34,7 @@ const chatRoom = actor({
3434import { createClient } from " rivetkit/client" ;
3535import type { App } from " ./src/index" ;
3636
37- const client = createClient <App >(" http://localhost:6420 " );
37+ const client = createClient <App >(" http://localhost:8080 " );
3838const chatRoom = await client .chatRoom .get ();
3939await chatRoom .sendMessage (' Hello, world!' );
4040```
@@ -67,7 +67,7 @@ const chatRoom = actor({
6767import { createClient } from " rivetkit/client" ;
6868import type { App } from " ./src/index" ;
6969
70- const client = createClient <App >(" http://localhost:6420 " );
70+ const client = createClient <App >(" http://localhost:8080 " );
7171const chatRoom = await client .chatRoom .get ();
7272await chatRoom .sendPrivateMessage (123 , ' Hello, world!' );
7373```
@@ -90,7 +90,7 @@ Clients can subscribe to events that will happen repeatedly using `actor.on(name
9090import { createClient } from " rivetkit/client" ;
9191import type { App } from " ./src/index" ;
9292
93- const client = createClient <App >(" http://localhost:6420 " );
93+ const client = createClient <App >(" http://localhost:8080 " );
9494const chatRoom = await client .chatRoom .get ();
9595
9696chatRoom .on (' newMessage' , ({ message }) => {
@@ -125,7 +125,7 @@ Clients can listen for an event only one time with `actor.once(name, callback)`.
125125import { createClient } from " rivetkit/client" ;
126126import type { App } from " ./src/index" ;
127127
128- const client = createClient <App >(" http://localhost:6420 " );
128+ const client = createClient <App >(" http://localhost:8080 " );
129129const chatRoom = await client .chatRoom .get ();
130130
131131chatRoom .once (' joinRequestApproved' , () => {
0 commit comments