diff options
| author | Andrew Lee <alee14498@gmail.com> | 2019-08-12 11:59:43 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@gmail.com> | 2019-08-12 11:59:43 -0400 |
| commit | 4c04dcdf189dc6b665bf4960317f93923f58cce5 (patch) | |
| tree | 93389374a53f0adc333d9a02aec60c67a58caac5 /app.js | |
| parent | 557e496d3c8e41cc7c98bee5d425315922984056 (diff) | |
| download | alp-website-4c04dcdf189dc6b665bf4960317f93923f58cce5.tar.gz alp-website-4c04dcdf189dc6b665bf4960317f93923f58cce5.tar.bz2 alp-website-4c04dcdf189dc6b665bf4960317f93923f58cce5.zip | |
Added the foundations for the blog, changed index and refactoring some code
Diffstat (limited to 'app.js')
| -rw-r--r-- | app.js | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -43,11 +43,11 @@ const rl = readline.createInterface({ }); function rlHelp() { - console.log("---------HELP-------"); + console.log("-----------HELP---------"); console.log("help - Displays help"); console.log("clear - Clears the console"); console.log("exit - Exits Application"); - console.log("--------------------"); + console.log("------------------------"); } rl.on("line", (input) => { @@ -72,7 +72,7 @@ rl.on("line", (input) => { } }); -console.log("[i] Starting up Website...") +console.log("[i] Starting up Website..."); app.set('view engine', 'ejs'); @@ -83,6 +83,7 @@ app.use(logger); app.use("/", require("./routes/index")); app.use("/projects", require("./routes/projects")); +app.use("/blog", require("./routes/blog")); app.use("/about", require("./routes/about")); app.use((req, res) => { |
