bug fix, key should be of type string, not int

This commit is contained in:
David Westgate 2021-03-02 09:04:57 +00:00
parent e68c3176aa
commit c4c034efa8

View File

@ -32,7 +32,7 @@ const branches ={
"node_port": 8080,
"database": "./app-db-dev.db",
"ssl": false,
"key": Math.floor((Math.random() * Math.pow(10,20)) ), //Dynamic key on start for security
"key": Math.floor((Math.random() * Math.pow(10,20)) ).toString(), //Dynamic key on start for security
"countries": ['US', 'CA', 'N/A'],
"algorithm" : 'aes-256-cbc',
"root": "/srv/webserver",