删除无用字段
This commit is contained in:
@@ -18,6 +18,7 @@ const CORE_BOOT_RETRY_DELAY_MS = 5_000
|
||||
|
||||
const app = express()
|
||||
const port = Number(runtimeConfig.server.port || 3000)
|
||||
const host = '0.0.0.0'
|
||||
const startupState = createStartupState()
|
||||
|
||||
app.use((req, res, next) => {
|
||||
@@ -88,8 +89,8 @@ app.use('/api/v1/webhooks', webhooksRouter)
|
||||
app.use('/api/v1/claim', claimsRouter)
|
||||
app.use('/api/v1/admin', adminRouter)
|
||||
|
||||
const server = app.listen(port, () => {
|
||||
logInfo('[startup]', `order-site-backend listening on http://127.0.0.1:${port}`)
|
||||
const server = app.listen(port, host, () => {
|
||||
logInfo('[startup]', `order-site-backend listening on http://${host}:${port}`)
|
||||
void bootstrapCoreServices()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user