Skip to content

Commit

Permalink
fix: Use https://downloads.mapeo.app for updater endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
okdistribute committed Aug 4, 2020
1 parent 0cdcbe0 commit 89f247c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions build/app-update.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
provider: github
repo: mapeo-desktop
owner: digidem
provider: generic
url: https://downloads.mapeo.app/desktop
channel: latest


2 changes: 1 addition & 1 deletion src/main/network-speed.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const NetworkSpeed = require('network-speed')

async function download () {
const fileSizeInBytes = 100000
const fileSizeInBytes = 1000000
const baseUrl = 'https://downloads.mapeo.app/100000.txt'
const networkSpeed = new NetworkSpeed()
const speed = await networkSpeed.checkDownloadSpeed(baseUrl, fileSizeInBytes)
Expand Down

0 comments on commit 89f247c

Please sign in to comment.