code cleanup/hardening

This commit is contained in:
Storme-bit
2026-04-26 21:59:16 -07:00
parent be1c38b654
commit c86b565eed

View File

@@ -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}`);
});