Skip to content

Commit

Permalink
Merge branch 'release/1.2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
jtellnes committed May 1, 2018
2 parents bc40baa + f944126 commit 4a12313
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Arkivverket.Arkade/Util/GitHubReleaseInfoReader.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using System.Net;
using System.Reflection;
using System.Text.RegularExpressions;
using RestSharp;
Expand All @@ -14,6 +15,8 @@ public class GitHubReleaseInfoReader : IReleaseInfoReader

public GitHubReleaseInfoReader()
{
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

_restClient = new RestClient("https://api.github.com/");

_latestReleaseInfo = ReadGitHubLatestReleaseInfo();
Expand Down

0 comments on commit 4a12313

Please sign in to comment.