Skip to content
This repository was archived by the owner on Mar 2, 2025. It is now read-only.

Commit 8c7df0b

Browse files
authored
Merge pull request #4 from JerryImMouse/pug-integration
pug integration
2 parents 054a44d + 4c0eed9 commit 8c7df0b

File tree

8 files changed

+405
-70
lines changed

8 files changed

+405
-70
lines changed

app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ const app = express();
1616

1717
app.set("trust proxy", 1);
1818

19+
app.set('view engine', 'pug')
20+
1921
app.use(compression()); // Compress all routes
2022
app.use(
2123
helmet({

0 commit comments

Comments
 (0)