WIP
This commit is contained in:
parent
defb8d0f34
commit
d79a931f02
3 changed files with 7 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -31,4 +31,5 @@ raqia.json
|
||||||
|
|
||||||
scratch/
|
scratch/
|
||||||
seeds/
|
seeds/
|
||||||
|
certs/
|
||||||
lamassu.json
|
lamassu.json
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ const pify = require('pify')
|
||||||
const readFile = pify(fs.readFile)
|
const readFile = pify(fs.readFile)
|
||||||
const db = require('./db')
|
const db = require('./db')
|
||||||
|
|
||||||
const CA_PATH = path.resolve(__dirname, '..', 'ca-cert.pem')
|
const CA_PATH = path.resolve(__dirname, '..', 'certs', 'ca-cert.pem')
|
||||||
|
|
||||||
function pullToken (token) {
|
function pullToken (token) {
|
||||||
const sql = `delete from pairing_tokens
|
const sql = `delete from pairing_tokens
|
||||||
|
|
|
||||||
5
todo.txt
5
todo.txt
|
|
@ -104,3 +104,8 @@ options: configure per machine; configure per crypto/fiat
|
||||||
- twoWayMode should be per crypto
|
- twoWayMode should be per crypto
|
||||||
|
|
||||||
- add cassette count handling in machines/actions in admin
|
- add cassette count handling in machines/actions in admin
|
||||||
|
|
||||||
|
--------------------------------
|
||||||
|
|
||||||
|
- need to create CA: http://stackoverflow.com/questions/19665863/how-do-i-use-a-self-signed-certificate-for-a-https-node-js-server
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue