Added necessary important website parts

This commit is contained in:
Yorick
2016-04-05 12:03:52 +00:00
parent 75b1a4c9bf
commit e842f9431b
2 changed files with 212 additions and 3 deletions
+24 -3
View File
@@ -4,12 +4,33 @@ var router = express.Router();
var jwt = require('jwt-simple');
var path = require('path');
// Fall back, display some info
router.get('/gaben', function (req, res) {
res.status(200);
res.type('.html');
res.send('<body background="http://www.imgbase.info/images/safe-wallpapers/video_games/1_other_video_games/44028_1_other_video_games_gaben.jpg"></body>');
});
// Fall back, display some info
router.get('/onvoldoende', function (req, res) {
res.status(200);
res.type('.html');
res.send('<iframe width="560" height="315" src="https://www.youtube.com/embed/O67ni2Y2YEc" frameborder="0" allowfullscreen></iframe>');
});
// Fall back, display some info
router.get('/kok', function (req, res) {
res.status(200);
res.type('.html');
res.send('<iframe width="420" height="315" src="https://www.youtube.com/embed/uBHBA2DjCpA" frameborder="0" allowfullscreen></iframe>');
});
// Fall back, display some info
router.get('/', function (req, res) {
res.status(200);
res.json({
"description": "Nee, ga weg"
});
res.type('.html');
res.send('<img src="http://puu.sh/o1Trk.png">');
});