2020-08-07 17:06:58 -06:00
|
|
|
var router = require('express').Router();
|
|
|
|
|
2020-08-08 01:20:33 -06:00
|
|
|
router.get('/profile-url', function(req, res) {
|
|
|
|
res.render('util/profile-url')
|
2020-08-07 17:06:58 -06:00
|
|
|
});
|
2020-08-08 01:20:33 -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
|
|
|
});
|
|
|
|
|
2020-08-08 01:20:33 -06:00
|
|
|
router.get('/qr', function(req, res) {
|
|
|
|
res.render('util/qr')
|
2020-08-07 17:06:58 -06:00
|
|
|
});
|
2020-08-08 01:20:33 -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
|
|
|
});
|
|
|
|
|
2020-08-08 01:20:33 -06:00
|
|
|
router.get('/qrfp', function(req, res) {
|
|
|
|
res.render('util/qrfp')
|
2020-08-07 17:06:58 -06:00
|
|
|
});
|
2020-08-08 01:20:33 -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
|
|
|
});
|
|
|
|
|
2020-08-08 01:20:33 -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;
|