unpkg/server/actions/showPublicKey.js

8 lines
158 B
JavaScript

const AuthAPI = require('../AuthAPI')
function showPublicKey(req, res) {
res.send({ publicKey: AuthAPI.getPublicKey() })
}
module.exports = showPublicKey