code cleanup/hardening
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
require ('dotenv').config();
|
||||
const express = require('express');
|
||||
const {getEnv, OLLAMA, PORTS} = require('@nexusai/shared');
|
||||
const {getEnv, OLLAMA, PORTS, logger} = require('@nexusai/shared');
|
||||
|
||||
const app = express();
|
||||
app.use(express.json());
|
||||
@@ -78,5 +78,5 @@ app.post('/embed/batch', async (req, res) => {
|
||||
|
||||
/******* Start Server ********/
|
||||
app.listen(PORT, () => {
|
||||
console.log(`Embedding Service listening on port ${PORT}`);
|
||||
logger.info(`Embedding Service listening on port ${PORT}`);
|
||||
});
|
||||
Reference in New Issue
Block a user