xovakat commited on
Commit
77b902e
1 Parent(s): 5c14de1

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +2 -2
server.js CHANGED
@@ -4,8 +4,8 @@ const app = express();
4
  const targetUrl = 'https://generativelanguage.googleapis.com';
5
  const port = 7860;
6
 
7
- app.use(express.json({ limit: '10mb' }));
8
- app.use(express.urlencoded({ limit: '10mb', extended: true }));
9
 
10
  app.use('/', proxy(targetUrl, {
11
  https: true,
 
4
  const targetUrl = 'https://generativelanguage.googleapis.com';
5
  const port = 7860;
6
 
7
+ // app.use(express.json({ limit: '10mb' }));
8
+ // app.use(express.urlencoded({ limit: '10mb', extended: true }));
9
 
10
  app.use('/', proxy(targetUrl, {
11
  https: true,