Skip to content

Commit 3e3e309

Browse files
committed
Renumbered code listings to match the book.
1 parent 15fb526 commit 3e3e309

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+8600
-13
lines changed

Diff for: .gitignore

+2-10
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,6 @@ typings/
5757
# dotenv environment variables file
5858
.env
5959

60-
listing-6/output/
61-
listing-4/output/
62-
listing-5/output/
63-
listing-8/non-xvfb-version/output/
64-
listing-8/xvfb-version/output/
65-
listing-8/.vagrant/
66-
listing-8/output/
67-
listing-10/.vagrant/
68-
listing-10/xvfb-version/output/
69-
listing-10/non-xvfb-version/output/
60+
output/
61+
.vagrant/
7062
*.png

Diff for: listing-1/app.js renamed to listing-11.1/app.js

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Diff for: listing-2/index.js renamed to listing-11.2/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const app = express();
77

88
const staticFilesPath = path.join(__dirname, "public"); // Make our 'public' sub-directory accessible via HTTP.
99
const staticFilesMiddleWare = express.static(staticFilesPath);
10-
app.use('/', staticFilesMiddleWare);
10+
app.use("/", staticFilesMiddleWare);
1111

1212
app.listen(3000, () => { // Start our web server!
1313
console.log("Web server listening on port 3000!");

0 commit comments

Comments
 (0)