mirror of
https://github.com/PawanOsman/ChatGPT.git
synced 2026-07-18 08:05:57 +02:00
Update index.js
should import DEBUG
This commit is contained in:
@@ -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} ...`);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user