Skip to content

Commit a5ff1b9

Browse files
authored
refactor: remove host from the server ready log (#11485)
1 parent 16b89f6 commit a5ff1b9

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.changeset/flat-rockets-notice.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@medusajs/medusa": patch
3+
---
4+
5+
refactor: remove host from the server ready log

packages/medusa/src/commands/start.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,7 @@ async function start(args: {
206206

207207
const server = GracefulShutdownServer.create(
208208
http_.listen(port, host).on("listening", () => {
209-
logger.success(
210-
serverActivity,
211-
`Server is ready on http://${host || "localhost"}:${port}`
212-
)
209+
logger.success(serverActivity, `Server is ready on port: ${port}`)
213210
displayAdminUrl({ container, host, port })
214211
track("CLI_START_COMPLETED")
215212
})

0 commit comments

Comments
 (0)