keyoxide-web/routes/dep.js
Yarmo Mackenbach aa9fa90229 Improve routes
2020-08-08 13:40:11 +02:00

7 lines
217 B
JavaScript

const router = require('express').Router();
router.get('/openpgp.min.js', function(req, res) {
res.sendFile(`node_modules/openpgp/dist/openpgp.min.js`, { root: `${__dirname}/../` })
});
module.exports = router;