Skip to content

Commit ce64184

Browse files
committed
演習問題を簡単にした
1 parent e14f441 commit ce64184

File tree

14 files changed

+1578
-126
lines changed

14 files changed

+1578
-126
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/node_modules
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import express from "express";
2-
const app = express();
32

3+
const app = express();
44
app.use(express.static("./public"));
5-
65
app.get("/exchange-rate", (request, response) => {
7-
const rate = (Math.random() * 20 + 140).toFixed(2);
6+
const rate = Math.random() * 20 + 140;
87
response.send(rate);
98
});
10-
11-
app.listen(3000);
9+
app.listen(3000);

0 commit comments

Comments
 (0)