forked from Mirrors/keyoxide-web
Add browser doip link
This commit is contained in:
parent
51322a5664
commit
95b30ab27a
2 changed files with 7 additions and 0 deletions
|
@ -30,6 +30,12 @@ more information on this, and how to apply and follow the GNU AGPL, see <https:/
|
|||
const express = require('express');
|
||||
const router = require('express').Router();
|
||||
|
||||
router.get('/doip.min.js', function(req, res) {
|
||||
res.sendFile(`node_modules/doipjs/dist/doip.min.js`, { root: `${__dirname}/../` })
|
||||
});
|
||||
router.get('/doip.js', function(req, res) {
|
||||
res.sendFile(`node_modules/doipjs/dist/doip.js`, { root: `${__dirname}/../` })
|
||||
});
|
||||
router.get('/openpgp.min.js', function(req, res) {
|
||||
res.sendFile(`node_modules/openpgp/dist/openpgp.min.js`, { root: `${__dirname}/../` })
|
||||
});
|
||||
|
|
|
@ -24,4 +24,5 @@ main.container.container--profile
|
|||
| ).
|
||||
|
||||
script(src='/static/openpgp.min.js')
|
||||
script(src='/static/doip.js')
|
||||
script(type='application/javascript' src='/static/scripts.js' charset='utf-8')
|
||||
|
|
Loading…
Reference in a new issue