Vladimir Alabov commited on
Commit
2ac0c37
1 Parent(s): 1ec06bf
Files changed (1) hide show
  1. server.js +1 -1
server.js CHANGED
@@ -3,7 +3,7 @@ const proxy = require('express-http-proxy');
3
  const app = express();
4
  const targetUrl = 'https://api.openai.com';
5
  // const openaiKey = process.env.OPENAI_KEY
6
- const port = 7860;
7
  const baseUrl = getExternalUrl(process.env.SPACE_ID);
8
 
9
  app.use('/api', proxy(targetUrl, {
 
3
  const app = express();
4
  const targetUrl = 'https://api.openai.com';
5
  // const openaiKey = process.env.OPENAI_KEY
6
+ const port = 3000;
7
  const baseUrl = getExternalUrl(process.env.SPACE_ID);
8
 
9
  app.use('/api', proxy(targetUrl, {