mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 02:29:59 +00:00
Use latest release GitHub API
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
"use strict";
|
"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)
|
fetch(ENDPOINT_URL)
|
||||||
.then(res => res.json())
|
.then(res => res.json())
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import { BridgeInfo } from "../lib/getBridgeInfo";
|
|||||||
|
|
||||||
const _ = browser.i18n.getMessage;
|
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) {
|
async function downloadApp (info: any, platform: string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user