Skip to content

Commit

Permalink
Correct issue with acquiring online packages and storing locally (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvisionative authored Apr 13, 2019
1 parent 643ce35 commit 0deafe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvQuickSite/Controllers/PackageController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private static IEnumerable<Package> GetRemotePackages()
WebClient client = new WebClient();
try
{
var url = "https://github.com/nvisionative/nvQuickSite/blob/master/data/packages.json";
var url = "https://github.com/nvisionative/nvQuickSite/raw/master/nvQuickSite/data/packages.json";
string result = client.DownloadString(url);
var res = Newtonsoft.Json.JsonConvert.DeserializeObject<IEnumerable<Package>>(result);
return res;
Expand Down

0 comments on commit 0deafe7

Please sign in to comment.