trretretret commited on
Commit
f5e7c6b
·
1 Parent(s): 3cb3466

change to llama380b

Browse files
Files changed (1) hide show
  1. server.js +3 -2
server.js CHANGED
@@ -9,6 +9,7 @@ const fs=require('fs');
9
 
10
  let limiter_max=50;
11
 
 
12
  const PORT = process.env.PORT || 7860; // Port number for the proxy server
13
  const app = express();
14
 
@@ -139,6 +140,6 @@ app.get('/kv/get', (req, res) => {
139
 
140
 
141
 
142
- app.listen(PORT, () => {
143
- console.log(`CORS Proxy running on http://localhost:${PORT}`);
144
  });
 
9
 
10
  let limiter_max=50;
11
 
12
+ const HOST='0.0.0.0';
13
  const PORT = process.env.PORT || 7860; // Port number for the proxy server
14
  const app = express();
15
 
 
140
 
141
 
142
 
143
+ app.listen(PORT,HOST, () => {
144
+ console.log(`CORS Proxy running on http://${HOST}:${PORT}`);
145
  });