updated missing "title" in spee.ch config
This commit is contained in:
parent
72cf2230d3
commit
30615cedcf
2 changed files with 3 additions and 4 deletions
|
@ -23,6 +23,7 @@ module.exports = {
|
||||||
uploadDirectory: null, // enter file path to where uploads/publishes should be stored
|
uploadDirectory: null, // enter file path to where uploads/publishes should be stored
|
||||||
},
|
},
|
||||||
site: {
|
site: {
|
||||||
|
title: 'Spee.ch',
|
||||||
name : 'Spee.ch',
|
name : 'Spee.ch',
|
||||||
host : 'https://spee.ch',
|
host : 'https://spee.ch',
|
||||||
},
|
},
|
||||||
|
|
|
@ -3,12 +3,10 @@ const { site } = require('../config/speechConfig.js');
|
||||||
module.exports = (app) => {
|
module.exports = (app) => {
|
||||||
// route for the home page
|
// route for the home page
|
||||||
app.get('/', (req, res) => {
|
app.get('/', (req, res) => {
|
||||||
console.log('rendering homepage');
|
|
||||||
res.status(200).render('index');
|
res.status(200).render('index');
|
||||||
});
|
});
|
||||||
// route to display login page
|
// route to display login page
|
||||||
app.get('/login', (req, res) => {
|
app.get('/login', (req, res) => {
|
||||||
console.log('rendering login page');
|
|
||||||
res.status(200).render('index');
|
res.status(200).render('index');
|
||||||
});
|
});
|
||||||
// route to show 'about' page
|
// route to show 'about' page
|
||||||
|
|
Loading…
Reference in a new issue