Added Documents Feature
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
* @ai-context Starts the Fastify server with all feature capsules
|
||||
*/
|
||||
import { buildApp } from './app';
|
||||
import { env } from './core/config/environment';
|
||||
import { appConfig } from './core/config/config-loader';
|
||||
import { logger } from './core/logging/logger';
|
||||
|
||||
const PORT = env.PORT || 3001;
|
||||
const PORT = appConfig.config.server.port;
|
||||
|
||||
async function start() {
|
||||
try {
|
||||
@@ -19,7 +19,7 @@ async function start() {
|
||||
|
||||
logger.info(`MotoVaultPro backend running`, {
|
||||
port: PORT,
|
||||
environment: env.NODE_ENV,
|
||||
environment: appConfig.config.server.environment,
|
||||
nodeVersion: process.version,
|
||||
framework: 'Fastify'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user