Skip to content

Commit

Permalink
minor modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Varun authored and Varun committed Oct 4, 2023
1 parent caacb1d commit 2420522
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ app.use(express.urlencoded({ extended: true }));
app.use(cookieParser());
// set up static folders
app.use(express.static(path.join(__dirname, './assets')));
app.use("/js", express.static(__dirname + "/assets/js"));
app.use("/css", express.static(__dirname + "/assets/css"));

// set ejs view engine
app.set('view engine', 'ejs');
Expand Down

0 comments on commit 2420522

Please sign in to comment.