Merge pull request #10 from fayland/patch-1

Update index.js
This commit is contained in:
Pawan Osman
2023-03-28 10:16:19 +03:00
committed by GitHub
+2 -2
View File
@@ -1,7 +1,7 @@
import express, { json, urlencoded } from 'express';
import { completions, chatCompletions } from './routes.js';
import { corsMiddleware, rateLimitMiddleware } from './middlewares.js';
import { SERVER_PORT } from './config.js';
import { DEBUG, SERVER_PORT } from './config.js';
let app = express();
@@ -30,4 +30,4 @@ app.post("/v1/chat/completions", chatCompletions);
// Start server
app.listen(SERVER_PORT, () => {
console.log(`Listening on ${SERVER_PORT} ...`);
});
});