Skip to content

Commit 7df8041

Browse files
authored
Merge pull request #107 from teacoder-team/dev
fix: bind server to host
2 parents 47712e1 + 84c60f6 commit 7df8041

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async function bootstrap() {
4141
const host = config.get('app.host', { infer: true })
4242

4343
try {
44-
await app.listen(port)
44+
await app.listen(port, host)
4545

4646
logger.log(`🚀 Server is running at: ${host}`)
4747
logger.log(`📄 Documentation is available at: ${host}/docs`)

0 commit comments

Comments
 (0)