Skip to content

Commit

Permalink
fix: invalid node connect
Browse files Browse the repository at this point in the history
  • Loading branch information
geolffreym committed Sep 14, 2022
1 parent 77903f2 commit 4451033
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: CD-Web
on:
push:
branches:
- 'master'
- 'v0.3.0'
- "master"
- "v0.3.0"

jobs:
release:
Expand All @@ -29,6 +29,7 @@ jobs:
- name: Publish
run: npm run publish
env:
WATCHIT_PUBLIC_KEY: ${{ secrets.WATCHIT_PUBLIC_KEY }}
IPFS_DEPLOY_CLOUDFLARE__API_TOKEN: ${{ secrets.IPFS_DEPLOY_CLOUDFLARE__API_TOKEN }}
IPFS_DEPLOY_CLOUDFLARE__ZONE: ${{ secrets.IPFS_DEPLOY_CLOUDFLARE__ZONE }}
IPFS_DEPLOY_CLOUDFLARE__RECORD: ${{ secrets.IPFS_DEPLOY_CLOUDFLARE__RECORD }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ name: CD-App
on:
push:
branches:
- 'master'
- 'v0.3.0'
- "master"
- "v0.3.0"

jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ macos-latest, windows-latest, ubuntu-latest ]
os: [macos-latest, windows-latest, ubuntu-latest]

steps:
- name: Check out Git repository
Expand All @@ -31,5 +31,5 @@ jobs:
github_token: ${{ secrets.GH_TOKEN }}
release: true
env:
WATCHIT_PUBLIC_KEY: ${{ secrets.WATCHIT_PUBLIC_KEY }}
CI: ""

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "watchit",
"author": "ZorrillosDev",
"version": "0.3.6-alpha.2",
"version": "0.3.6-alpha.3",
"private": true,
"main": "./src/main/index.js",
"description": "Open movies everywhere",
Expand Down
2 changes: 1 addition & 1 deletion src/main/core/ipfs/node/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const initIpfsNode = async (isInstance) => {

const ipfsFactory = async (conf = {}) => {
// Link to current local node
if ('node' in conf) {
if (conf.node) {
log.info('Using provided node on port:', conf.node)
return IPFSClient.create({
host: DEFAULT_LOOPBACK,
Expand Down
2 changes: 1 addition & 1 deletion src/render/core/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default {
// 'https://watchit.mypinata.cloud',
'https://ipfs.filebase.io',
'https://gateway.ipfs.io',
'https://ipfs.io',
// 'https://ipfs.io',
...process.env.RUNTIME !== 'web'
? ['http://localhost:8080']
: []
Expand Down

0 comments on commit 4451033

Please sign in to comment.