Skip to content

Commit de58e47

Browse files
committed
Update app.js
fixed example route syntax
1 parent f615283 commit de58e47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// in this file create an express application - use the middle-ware built into express
22
// to serve up static files from the public directory (index.html and client.js - you
33
// can also serve up css files from the public directory this way if you want)
4-
// you need to support a '/trucks' endpoint, and a dynamic route for '/trucks:name'
4+
// you need to support a '/trucks' endpoint, and a dynamic route for '/trucks/:name'

0 commit comments

Comments
 (0)