Skip to content

Commit e1b504d

Browse files
authored
「データベース」の章のwriteFileSyncのパスの表記法を修正 (#752)
1 parent 8c9c469 commit e1b504d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/3-web-servers/08-database/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ app.post((request, response) => {
2727
```javascript
2828
import { writeFileSync } from "node:fs";
2929
app.post((request, response) => {
30-
writeFileSync("messages.txt", request.body.message);
30+
writeFileSync("./messages.txt", request.body.message);
3131
// 省略
3232
});
3333
```

0 commit comments

Comments
 (0)