Skip to content

Commit 77b9bc0

Browse files
fix: links to resources in release
1 parent 762ba21 commit 77b9bc0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/TwitchStreamingTools/Constants.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public static class Constants {
1717
/// <summary>
1818
/// The domain that the api service is hosted at.
1919
/// </summary>
20-
public static string API_SITE_DOMAIN = "localhost:5036";
20+
public static string API_SITE_DOMAIN = "http://localhost:5036";
2121
#else
2222
/// <summary>
2323
/// The twitch app client id.
@@ -27,13 +27,13 @@ public static class Constants {
2727
/// <summary>
2828
/// The domain that the api service is hosted at.
2929
/// </summary>
30-
public static string API_SITE_DOMAIN = "nullinside.com";
30+
public static string API_SITE_DOMAIN = "https://nullinside.com";
3131
#endif
3232

3333
/// <summary>
3434
/// The twitch app redirect link.
3535
/// </summary>
36-
public static string TWITCH_CLIENT_REDIRECT = $"http://{API_SITE_DOMAIN}/api/v1/user/twitch-login/twitch-streaming-tools";
36+
public static string TWITCH_CLIENT_REDIRECT = $"{API_SITE_DOMAIN}/api/v1/user/twitch-login/twitch-streaming-tools";
3737

3838
/// <summary>
3939
/// The reference to the clipboard API.

src/TwitchStreamingTools/Utilities/TwitchApiWrapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public static async Task<TwitchApiWrapper> CreateApi() {
7474
}
7575

7676
using var client = new HttpClient();
77-
string url = $"https://{Constants.API_SITE_DOMAIN}/api/v1/user/twitch-login/twitch-streaming-tools";
77+
string url = $"{Constants.API_SITE_DOMAIN}/api/v1/user/twitch-login/twitch-streaming-tools";
7878
var request = new HttpRequestMessage(HttpMethod.Post, url);
7979
using HttpResponseMessage response =
8080
await client.PostAsJsonAsync(request.RequestUri, $"{{\"refreshToken\":\"{OAuth?.RefreshToken}\"}}");

0 commit comments

Comments
 (0)