Skip to content

Commit 0ca3aa1

Browse files
committed
Small tweaks and improvements.
1 parent 6213ae4 commit 0ca3aa1

File tree

15 files changed

+3910
-27
lines changed

15 files changed

+3910
-27
lines changed

listing-10/index.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ const app = express();
88

99
const staticFilesPath = path.join(__dirname, "public");
1010
const staticFilesMiddleWare = express.static(staticFilesPath);
11-
app.use('/', staticFilesMiddleWare);
12-
13-
app.get('/rest/data', (request, response) => {
11+
app.use("/", staticFilesMiddleWare);
1412

13+
app.get("/rest/data", (request, response) => {
1514
importCsvFile("./data/data.csv")
1615
.then(data => {
1716
response.json(data);

listing-10/package-lock.json

+385
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)