chartManD commited on
Commit
dbbd65a
·
1 Parent(s): f8702b4

server js 1.5

Browse files
Files changed (1) hide show
  1. mocos.js +5 -4
mocos.js CHANGED
@@ -1,7 +1,8 @@
1
  import * as http from "http";
 
 
 
2
 
3
- const server = http.createServer(requestListener);
4
-
5
- server.listen(port, host, () => {
6
- console.log(`Server is running on http://${host}:${port}`);
7
  });
 
1
  import * as http from "http";
2
+ const server = http.createServer();
3
+ const PORT = 7860;
4
+ const HOST = "chartmand-testing-area.hf.space";
5
 
6
+ server.listen(PORT, HOST, () => {
7
+ console.log(`Server is running on http://${HOST}:${PORT}`);
 
 
8
  });