We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ce1ec0 commit 396310dCopy full SHA for 396310d
MLAPI-Editor/MLAPIEditor.cs
@@ -40,6 +40,7 @@ public class AppveyorBuild
40
[InitializeOnLoad]
41
public class MLAPIEditor : EditorWindow
42
{
43
+ private const string API_URL = "https://api.github.com/repos/MidLevel/MLAPI/releases";
44
private GithubRelease[] releases = new GithubRelease[0];
45
private bool[] foldoutStatus = new bool[0];
46
private string currentVersion
@@ -221,7 +222,7 @@ private IEnumerator GetReleases()
221
222
223
lastUpdated = DateTime.Now.Ticks;
224
- WWW www = new WWW("https://api.github.com/repos/TwoTenPvP/MLAPI/releases");
225
+ WWW www = new WWW(API_URL);
226
isFetching = true;
227
while (!www.isDone && string.IsNullOrEmpty(www.error))
228
0 commit comments