Skip to content

Commit

Permalink
Merge pull request #142 from ZorrillosDev/fix/gateways
Browse files Browse the repository at this point in the history
Fix/gateways
  • Loading branch information
geolffreym authored Apr 30, 2022
2 parents 80e03a5 + 8aaa9e2 commit 18fc178
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
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.1-alpha.2",
"version": "0.3.2-alpha.2",
"private": true,
"main": "./src/main/index.js",
"description": "Open movies everywhere",
Expand Down
7 changes: 7 additions & 0 deletions src/main/core/utils.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
const log = require('logplease').create('UTIL')
const rimraf = require('rimraf')

/**
* Remove file or directory
*
* @param {*} dirOrFIle
* @param {*} options
* @return {Promise}
*/
module.exports.removeFiles = (dirOrFIle, options) => {
return new Promise((resolve) => {
rimraf(dirOrFIle, {
Expand Down
6 changes: 3 additions & 3 deletions src/render/core/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
export default {
streaming: ['hls'],
gateways: [
'https://vps1.phillm.net',
'https://vps2.phillm.net',
'https://vps3.phillm.net',
// 'https://vps1.phillm.net',
// 'https://vps2.phillm.net',
// 'https://vps3.phillm.net',
'https://gateway.ipfs.io',
'https://ipfs.infura.io',
// 'https://gateway.pinata.cloud',
Expand Down

0 comments on commit 18fc178

Please sign in to comment.