fffiloni commited on
Commit
7bf4dfe
1 Parent(s): 48e84aa

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +2 -1
index.js CHANGED
@@ -9,7 +9,8 @@ const io = new Server(httpServer, { /* options */ });
9
 
10
  io.on("connection", (socket) => {
11
  console.log("hello sockets")
12
- socket.emit("hello", (process.env.HF_SECRET_VALUE));
 
13
  });
14
 
15
  httpServer.listen(7860);
 
9
 
10
  io.on("connection", (socket) => {
11
  console.log("hello sockets")
12
+ let data = [process.env.URI_ENDPOINT, process.env.HF_TKN]
13
+ socket.emit("hello", (data));
14
  });
15
 
16
  httpServer.listen(7860);