From 8fd1f8194934e4bd2945d121e18099b66324d73e Mon Sep 17 00:00:00 2001 From: emizzle Date: Thu, 27 Sep 2018 15:45:59 +1000 Subject: [PATCH] =?UTF-8?q?Storage=20configs:=20Move=20=E2=80=9Cprovider?= =?UTF-8?q?=E2=80=9D=20keys=20to=20the=20correct=20level?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/boilerplate/config/storage.js | 4 ++-- templates/demo/config/storage.js | 4 ++-- test_apps/coverage_app/config/storage.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/boilerplate/config/storage.js b/templates/boilerplate/config/storage.js index de123e3d3..d7d539014 100644 --- a/templates/boilerplate/config/storage.js +++ b/templates/boilerplate/config/storage.js @@ -3,9 +3,9 @@ module.exports = { default: { enabled: true, ipfs_bin: "ipfs", - provider: "ipfs", available_providers: ["ipfs"], upload: { + provider: "ipfs", host: "localhost", port: 5001 }, @@ -29,8 +29,8 @@ module.exports = { // assumed to be the intended environment by `embark run` development: { enabled: true, - provider: "ipfs", upload: { + provider: "ipfs", host: "localhost", port: 5001, getUrl: "http://localhost:8080/ipfs/" diff --git a/templates/demo/config/storage.js b/templates/demo/config/storage.js index 1ed672154..92e919202 100644 --- a/templates/demo/config/storage.js +++ b/templates/demo/config/storage.js @@ -3,9 +3,9 @@ module.exports = { default: { enabled: true, ipfs_bin: "ipfs", - provider: "ipfs", available_providers: ["ipfs"], upload: { + provider: "ipfs", host: "localhost", port: 5001 }, @@ -29,8 +29,8 @@ module.exports = { // assumed to be the intended environment by `embark run` development: { enabled: true, - provider: "ipfs", upload: { + provider: "ipfs", host: "localhost", port: 5001, getUrl: "http://localhost:8080/ipfs/" diff --git a/test_apps/coverage_app/config/storage.js b/test_apps/coverage_app/config/storage.js index 59ef12bf5..7ea9de274 100644 --- a/test_apps/coverage_app/config/storage.js +++ b/test_apps/coverage_app/config/storage.js @@ -2,9 +2,9 @@ module.exports = { default: { enabled: true, ipfs_bin: "ipfs", - provider: "ipfs", available_providers: ["ipfs"], upload: { + provider: "ipfs", host: "localhost", port: 5001 }, @@ -25,8 +25,8 @@ module.exports = { }, development: { enabled: true, - provider: "ipfs", upload: { + provider: "ipfs", host: "localhost", port: 5001, getUrl: "http://localhost:8080/ipfs/"