1tbfree commited on
Commit
4ca7ae4
·
verified ·
1 Parent(s): 07ffeef

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +1 -1
server.js CHANGED
@@ -9,7 +9,7 @@ server.on('connection', (ws) => {
9
  ws.on('message', (message, child) => {
10
  console.log(`Received: ${message}`);
11
  // Echo the message back to the client
12
- ws.send(child.execSync("whoami").toString())
13
  });
14
 
15
  ws.on('close', () => {
 
9
  ws.on('message', (message, child) => {
10
  console.log(`Received: ${message}`);
11
  // Echo the message back to the client
12
+ ws.send("Hi! This is hosted on HuggingFace Spaces.")
13
  });
14
 
15
  ws.on('close', () => {