unpkg/modules/actions/showPublicKey.js

6 lines
137 B
JavaScript

import { secretKey } from '../config';
export default function showPublicKey(req, res) {
res.send({ publicKey: secretKey.public });
}