diff options
| author | Andrew Lee <alee14498@gmail.com> | 2019-11-24 09:00:34 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@gmail.com> | 2019-11-24 09:00:34 -0500 |
| commit | 4a86c4d98691c1e1469d25a47944444475551567 (patch) | |
| tree | c2b0a56aaf69fddb3d40611018b59f0645a3ac62 /routes/about.js | |
| download | Project-NewTube-4a86c4d98691c1e1469d25a47944444475551567.tar.gz Project-NewTube-4a86c4d98691c1e1469d25a47944444475551567.tar.bz2 Project-NewTube-4a86c4d98691c1e1469d25a47944444475551567.zip | |
Inital commit
Diffstat (limited to 'routes/about.js')
| -rw-r--r-- | routes/about.js | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/routes/about.js b/routes/about.js new file mode 100644 index 0000000..9222133 --- /dev/null +++ b/routes/about.js @@ -0,0 +1,27 @@ +/********************************* + + Alee Productions Website: Website for Alee Productions + Copyright (C) 2019 Alee + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. + +**************************************/ +const express = require("express"); +const router = express.Router(); + +router.get('/', (req, res) => { + res.render('about', {title: 'About | Alee Productions'}); + }); + +module.exports = router;
\ No newline at end of file |
