Fixed incorrect script

This commit is contained in:
ポール ウェッブ 2018-08-13 14:30:44 -05:00
parent a42a2a2826
commit cf4d8a9349
2 changed files with 6 additions and 5 deletions

View file

@ -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",

View file

@ -167,8 +167,8 @@ function fetchMetadata(exampleNumber, data) {
$("#tour-results").html(`
<pre><code class="language-bash">
<span class="token comment"># If you have the LBRY desktop app, you can run this in your Terminal</span>
curl "http://localhost:5279" --data "{ 'method': 'resolve', 'params': { 'uri': '${data}' } }"
<span class="token comment"># With the LBRY daemon running locally, you can use this in your Terminal</span>
curl --header "Content-Type: application/json" --data '{ "method": "resolve", "params": { "uri": "${data}" }}' http://localhost:5279
</code></pre>
<div class="loader" id="temp-loader"></div>