Inject secret key at build time

This commit is contained in:
Michael Jackson
2019-01-05 18:03:10 -08:00
parent 09ed8ac129
commit 76f05911cd
12 changed files with 79 additions and 52 deletions

View File

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