Created
September 20, 2022 03:39
-
-
Save Octagon-simon/2286c456d069d2b32f9e7f6c72180a50 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //tell express to use ejs as our template/view engine | |
| app.set('view engine', 'ejs') | |
| //tell express to use pages as our views directory | |
| app.set('views', './pages') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment