mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
添加dockerfile
This commit is contained in:
@@ -22,7 +22,7 @@ if (envFound.error) {
|
||||
}
|
||||
|
||||
export default {
|
||||
port: parseInt(process.env.PORT, 10),
|
||||
port: parseInt(process.env.PORT as string, 10),
|
||||
secret: process.env.SECRET,
|
||||
logs: {
|
||||
level: process.env.LOG_LEVEL || 'silly',
|
||||
|
||||
@@ -2,7 +2,7 @@ import expressLoader from './express';
|
||||
import dependencyInjectorLoader from './dependencyInjector';
|
||||
import Logger from './logger';
|
||||
|
||||
export default async ({ expressApp }) => {
|
||||
export default async ({ expressApp }: { expressApp: any }) => {
|
||||
Logger.info('✌️ DB loaded and connected!');
|
||||
|
||||
await dependencyInjectorLoader({
|
||||
|
||||
Reference in New Issue
Block a user