Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
docs: reorg exchange files exemple
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Dec 13, 2017
1 parent f66aac8 commit a6dce4f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/exchange-files-in-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "exchange-files-browser",
"version": "0.0.0",
"scripts": {
"bundle": "browserify public/js/app.js > public/js/bundle.js",
"bundle": "browserify public/app.js > public/bundle.js",
"dev": "npm run bundle && npm run start",
"start": "http-server -c-1 -p 12345 public"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ function start () {
config: {
Addresses: {
Swarm: [
'/dns4/wrtc-star.discovery.libp2p.io/tcp/443/wss/p2p-webrtc-star'
// '/dns4/ws-star.discovery.libp2p.io/tcp/443/wss/p2p-websocket-star'
// '/dns4/wrtc-star.discovery.libp2p.io/tcp/443/wss/p2p-webrtc-star'
'/dns4/ws-star.discovery.libp2p.io/tcp/443/wss/p2p-websocket-star'
]
}
}
Expand Down
4 changes: 2 additions & 2 deletions examples/exchange-files-in-browser/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="css/app.css">
<link rel="stylesheet" href="app.css">
<title>IPFS - Transfer Files</title>
</head>

Expand Down Expand Up @@ -69,7 +69,7 @@ <h2>Files</h2>

<!-- The IPFS node module -->
<script src="//unpkg.com/ipfs/dist/index.js"></script>
<script src="js/app.js"></script>
<script src="app.js"></script>
<!-- <script src="js/bundle.js"></script> -->
</body>
</html>

0 comments on commit a6dce4f

Please sign in to comment.