diff --git a/package.json b/package.json index 17bd688..067c692 100755 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "fastify-compress": "^0.6.0", "fastify-helmet": "^1.0.3", "fastify-plugin": "^1.2.0", - "fastify-static": "^0.12.0", + "fastify-static": "^0.13.0", "fastify-ws": "^1.0.0", "front-matter": "^2.3.0", "fs-exists-sync": "^0.1.0", @@ -42,13 +42,14 @@ "slack-node": "^0.1.8", "socket.io": "^2.1.1", "stringify-object": "^3.2.2", - "turbocolor": "^2.4.3", + "turbocolor": "^2.4.5", "ws": "^6.0.0" }, "devDependencies": { "babel-preset-env": "^1.7.0", "babel-preset-stage-2": "^6.24.1", "choo-devtools": "^2.5.1", + "dependency-check": "^3.2.0", "nodemon": "^1.18.3", "npm-run-all": "^4.1.3", "sass": "^1.10.4", @@ -77,7 +78,7 @@ "lint": "standardx --verbose | snazzy", "start": "NODE_ENV=production node server", "test": "run-p test:*", - "test:dependencies": "updates -u ./", + "test:dependencies": "dependency-check ./package.json && updates -u ./", "test:lint": "standardx --verbose | snazzy", "watch": "run-p watch:*", "watch:sass": "sass --watch sass:public/css --style compressed", diff --git a/views/partials/tour-scripts.js b/views/partials/tour-scripts.js index 1099f99..0b526c1 100644 --- a/views/partials/tour-scripts.js +++ b/views/partials/tour-scripts.js @@ -167,8 +167,8 @@ function fetchMetadata(exampleNumber, data) { $("#tour-results").html(`

-# If you have the LBRY desktop app, you can run this in your Terminal
-curl "http://localhost:5279" --data "{ 'method': 'resolve', 'params': { 'uri': '${data}' } }"
+# With the LBRY daemon running locally, you can use this in your Terminal
+curl --header "Content-Type: application/json" --data '{ "method": "resolve", "params": { "uri": "${data}" }}' http://localhost:5279