Use latest release GitHub API

This commit is contained in:
hensm
2019-03-05 19:16:50 +00:00
parent 1d4337cc7a
commit 33c1e2acf4
2 changed files with 2 additions and 2 deletions

View File

@@ -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())