fixed webapi
This commit is contained in:
parent
80c29283da
commit
bef5dca4dd
1 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ if (loggingConfig) {
|
||||||
logLevel: loggingConfig.level,
|
logLevel: loggingConfig.level,
|
||||||
logConsole: true,
|
logConsole: true,
|
||||||
logFile: false,
|
logFile: false,
|
||||||
environment: serviceConfig.environment,
|
environment: config.environment,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -123,7 +123,7 @@ async function startServer() {
|
||||||
server = Bun.serve({
|
server = Bun.serve({
|
||||||
port: PORT,
|
port: PORT,
|
||||||
fetch: app.fetch,
|
fetch: app.fetch,
|
||||||
development: serviceConfig.environment === 'development',
|
development: config.environment === 'development',
|
||||||
});
|
});
|
||||||
|
|
||||||
logger.info(`Stock Bot Web API started on port ${PORT}`);
|
logger.info(`Stock Bot Web API started on port ${PORT}`);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue