Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
0196134b
Unverified
Commit
0196134b
authored
Oct 09, 2019
by
yann300
Committed by
GitHub
Oct 09, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2396 from ethereum/yann300-patch-2
add localhost ipfs to the list of node where to push the content
parents
2262c084
aaa9bd5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
publishOnIpfs.js
src/lib/publishOnIpfs.js
+2
-1
No files found.
src/lib/publishOnIpfs.js
View file @
0196134b
...
...
@@ -5,7 +5,8 @@ const IpfsClient = require('ipfs-mini')
const
ipfsNodes
=
[
new
IpfsClient
({
host
:
'ipfs.komputing.org'
,
port
:
443
,
protocol
:
'https'
}),
new
IpfsClient
({
host
:
'ipfs.infura.io'
,
port
:
5001
,
protocol
:
'https'
})
new
IpfsClient
({
host
:
'ipfs.infura.io'
,
port
:
5001
,
protocol
:
'https'
}),
new
IpfsClient
({
host
:
'127.0.0.1'
,
port
:
5001
,
protocol
:
'http'
})
]
module
.
exports
=
(
contract
,
fileManager
,
cb
,
ipfsVerifiedPublishCallBack
)
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment