Skip to content

Commit a3ea367

Browse files
Change res.end to res.send in express_basic_example_1
1 parent 3029259 commit a3ea367

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

express_basic_example_1.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const app = express();
33
const PORT = 3000;
44

55
app.get("/", (req, res) => {
6-
res.end("Welcome to my homepage");
6+
res.send("Welcome to my homepage");
77
});
88

99
/* GET books listing. */

0 commit comments

Comments
 (0)