350 open graph react #360

Merged
bones7242 merged 30 commits from 350-open-graph-react into master 2018-02-24 17:55:00 +01:00
2 changed files with 3 additions and 4 deletions
Showing only changes of commit 30615cedcf - Show all commits

View file

@ -23,8 +23,9 @@ module.exports = {
uploadDirectory: null, // enter file path to where uploads/publishes should be stored
},
site: {
name: 'Spee.ch',
host: 'https://spee.ch',
title: 'Spee.ch',
name : 'Spee.ch',
host : 'https://spee.ch',
},
claim: {
defaultTitle : 'Spee.ch',

View file

@ -3,12 +3,10 @@ const { site } = require('../config/speechConfig.js');
module.exports = (app) => {
// route for the home page
app.get('/', (req, res) => {
console.log('rendering homepage');
res.status(200).render('index');
});
// route to display login page
app.get('/login', (req, res) => {
console.log('rendering login page');
res.status(200).render('index');
});
// route to show 'about' page