diff --git a/examples/exchange-files-in-browser/package.json b/examples/exchange-files-in-browser/package.json index c6a9f3be6b..e1d77695b8 100644 --- a/examples/exchange-files-in-browser/package.json +++ b/examples/exchange-files-in-browser/package.json @@ -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" }, diff --git a/examples/exchange-files-in-browser/public/css/app.css b/examples/exchange-files-in-browser/public/app.css similarity index 100% rename from examples/exchange-files-in-browser/public/css/app.css rename to examples/exchange-files-in-browser/public/app.css diff --git a/examples/exchange-files-in-browser/public/js/app.js b/examples/exchange-files-in-browser/public/app.js similarity index 97% rename from examples/exchange-files-in-browser/public/js/app.js rename to examples/exchange-files-in-browser/public/app.js index 778ca44c1c..2105ab0cb0 100644 --- a/examples/exchange-files-in-browser/public/js/app.js +++ b/examples/exchange-files-in-browser/public/app.js @@ -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' ] } } diff --git a/examples/exchange-files-in-browser/public/index.html b/examples/exchange-files-in-browser/public/index.html index a526f9a26d..0e3385cb45 100644 --- a/examples/exchange-files-in-browser/public/index.html +++ b/examples/exchange-files-in-browser/public/index.html @@ -2,7 +2,7 @@ - + IPFS - Transfer Files @@ -69,7 +69,7 @@

Files

- +