keyoxide-web/routes/util.js

32 lines
818 B
JavaScript
Raw Normal View History

2020-08-08 05:40:11 -06:00
const router = require('express').Router();
2020-08-07 17:06:58 -06:00
router.get('/profile-url', function(req, res) {
res.render('util/profile-url')
2020-08-07 17:06:58 -06:00
});
router.get('/profile-url/:input', function(req, res) {
res.render('util/profile-url', { input: req.params.input })
2020-08-07 17:06:58 -06:00
});
router.get('/qr', function(req, res) {
res.render('util/qr')
2020-08-07 17:06:58 -06:00
});
router.get('/qr/:input', function(req, res) {
res.render('util/qr', { input: req.params.input })
2020-08-07 17:06:58 -06:00
});
router.get('/qrfp', function(req, res) {
res.render('util/qrfp')
2020-08-07 17:06:58 -06:00
});
router.get('/qrfp/:input', function(req, res) {
res.render('util/qrfp', { input: req.params.input })
2020-08-07 17:06:58 -06:00
});
router.get('/wkd', function(req, res) {
res.render('util/wkd')
});
router.get('/wkd/:input', function(req, res) {
res.render('util/wkd', { input: req.params.input })
2020-08-07 17:06:58 -06:00
});
module.exports = router;