Skip to content

Commit

Permalink
move bootstrap to node module
Browse files Browse the repository at this point in the history
  • Loading branch information
bkleinen committed Apr 7, 2021
1 parent 35a3ed2 commit b06f2fb
Show file tree
Hide file tree
Showing 23 changed files with 51 additions and 26,152 deletions.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ router.get("/about.html", (req, res) => {

router.get("/bootstrap.css", (req, res) =>{
res.writeHead(httpStatus.OK, contentTypes.js);
utils.getFile("public/css/bootstrap.css", res);
utils.getFile("node_modules/bootstrap/dist/css/bootstrap.min.css", res);

});

Expand Down
49 changes: 49 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"author": "Barne Kleinen",
"license": "MIT",
"dependencies": {
"bootstrap": "^4.6.0",
"http-status-codes": "^1.4.0"
}
}

0 comments on commit b06f2fb

Please sign in to comment.