basic setup pong - frontend and backend with simplw socket message and fastify route
This commit is contained in:
parent
5354c01bad
commit
6e6162c3f0
19 changed files with 60 additions and 641 deletions
|
|
@ -89,7 +89,6 @@ export { app };
|
|||
declare module 'fastify' {
|
||||
interface FastifyInstance {
|
||||
io: Server<{
|
||||
hello: (message: string) => string;
|
||||
MsgObjectServer: (data: { message: ClientMessage }) => void;
|
||||
privMessage: (data: string) => void;
|
||||
profilMessage: (data: ClientProfil) => void;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue