generated from alphane/template
This commit is contained in:
+2
-2
@@ -1,9 +1,9 @@
|
||||
import { API_PORT, APPLICATION_NAME } from "@/config"
|
||||
import { API_PORT, APPLICATION_NAME, GIT_COMMIT_HASH, RELEASE_TAG } from "@/config"
|
||||
import logger from "@/utils/logger"
|
||||
import app from "@/app"
|
||||
import { enqueueJobs } from "@/scheduler"
|
||||
|
||||
app.listen(API_PORT, async () => {
|
||||
logger.info(`${APPLICATION_NAME} API listenting on port ${API_PORT}`)
|
||||
logger.info(`${APPLICATION_NAME} API listenting on port ${API_PORT} (${RELEASE_TAG} ${GIT_COMMIT_HASH})`)
|
||||
await enqueueJobs()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user