Skip to content

Commit

Permalink
add code for new html file
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoshimikan6490 committed Dec 31, 2024
1 parent 2978204 commit 96ea5fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ app.get("/", async function (req, res) {
res.sendFile(__dirname + "/index.html");
});

app.get("/sakuhin", async function (req, res) {
res.sendFile(__dirname + "/sakuhin.html");
});

app.listen(port, function () {
console.log(`[NodeJS] Application Listening on Port ${port}`);
});

0 comments on commit 96ea5fc

Please sign in to comment.