From 33c1e2acf42dceb43d2d05d59a3142885ff1c05f Mon Sep 17 00:00:00 2001 From: hensm Date: Tue, 5 Mar 2019 19:16:50 +0000 Subject: [PATCH] Use latest release GitHub API --- docs/index.js | 2 +- ext/src/options/Bridge.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.js b/docs/index.js index 515a078..7264193 100644 --- a/docs/index.js +++ b/docs/index.js @@ -1,6 +1,6 @@ "use strict"; -const ENDPOINT_URL = "https://api.github.com/repos/hensm/fx_cast/releases/14720978"; +const ENDPOINT_URL = "https://api.github.com/repos/hensm/fx_cast/releases/latest"; fetch(ENDPOINT_URL) .then(res => res.json()) diff --git a/ext/src/options/Bridge.tsx b/ext/src/options/Bridge.tsx index f071efc..8c3725a 100644 --- a/ext/src/options/Bridge.tsx +++ b/ext/src/options/Bridge.tsx @@ -11,7 +11,7 @@ import { BridgeInfo } from "../lib/getBridgeInfo"; const _ = browser.i18n.getMessage; -const ENDPOINT_URL = "https://api.github.com/repos/hensm/fx_cast/releases/14720978"; +const ENDPOINT_URL = "https://api.github.com/repos/hensm/fx_cast/releases/latest"; async function downloadApp (info: any, platform: string) {