Add auth and blacklist APIs
This commit is contained in:
7
server/actions/showPublicKey.js
Normal file
7
server/actions/showPublicKey.js
Normal file
@ -0,0 +1,7 @@
|
||||
const AuthAPI = require('../AuthAPI')
|
||||
|
||||
function showPublicKey(req, res) {
|
||||
res.type('text').send(AuthAPI.getPublicKey())
|
||||
}
|
||||
|
||||
module.exports = showPublicKey
|
Reference in New Issue
Block a user