unpkg/server/actions/showPublicKey.js

8 lines
156 B
JavaScript

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