Skip to content

Commit

Permalink
changed view engine
Browse files Browse the repository at this point in the history
  • Loading branch information
abutler911 committed Oct 16, 2023
1 parent ae08cf5 commit d340403
Show file tree
Hide file tree
Showing 9 changed files with 414 additions and 15 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const port = 3000;
connectDB();

// Setting EJS as the view engine
app.set("view engine", "ejs");
app.set("view engine", "pug");

// Setting up the public folder to serve static files
app.use(express.static(path.join(__dirname, "public")));
Expand Down
Loading

0 comments on commit d340403

Please sign in to comment.