删除无用字段

This commit is contained in:
yml
2026-04-14 18:07:09 +08:00
parent 9f6f67c8a8
commit 813c733860
10 changed files with 102 additions and 14 deletions
+3 -2
View File
@@ -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()
})