Skip to content

Commit 83e5cb5

Browse files
committed
fix: support for Node.js 17 and 18's openssl3 updates
1 parent 1829b4c commit 83e5cb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"url": "https://github.com/Snyk/snyk-todo-list-demo-app/"
99
},
1010
"scripts": {
11-
"dev": "nodemon ./app.js",
12-
"start": "node app.js",
11+
"dev": "NODE_OPTIONS=--openssl-legacy-provider nodemon ./app.js",
12+
"start": "NODE_OPTIONS=--openssl-legacy-provider node app.js",
1313
"build": "browserify -r jquery > public/js/bundle.js",
1414
"cleanup": "mongo express-todo --eval 'db.todos.remove({});'",
1515
"test": "snyk test"

0 commit comments

Comments
 (0)