Skip to content

Commit 0a123b3

Browse files
committed
Fix memory unit and server port message
1 parent e025c46 commit 0a123b3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

samples/nodejs-react-postgres/compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ services:
1313
deploy:
1414
resources:
1515
reservations:
16-
memory: 1GiB
16+
memory: 1g
1717
depends_on:
1818
- server
1919
server:

samples/nodejs-react-postgres/server/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,5 @@ app.delete("/todos/:id", async (req, res) => {
8181
});
8282

8383
app.listen(3010, () => {
84-
console.log("server has started on port")
85-
})
84+
console.log("server has started on port 3010")
85+
})

0 commit comments

Comments
 (0)