File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public static class Constants {
17
17
/// <summary>
18
18
/// The domain that the api service is hosted at.
19
19
/// </summary>
20
- public static string API_SITE_DOMAIN = "localhost:5036" ;
20
+ public static string API_SITE_DOMAIN = "http:// localhost:5036" ;
21
21
#else
22
22
/// <summary>
23
23
/// The twitch app client id.
@@ -27,13 +27,13 @@ public static class Constants {
27
27
/// <summary>
28
28
/// The domain that the api service is hosted at.
29
29
/// </summary>
30
- public static string API_SITE_DOMAIN = "nullinside.com" ;
30
+ public static string API_SITE_DOMAIN = "https:// nullinside.com" ;
31
31
#endif
32
32
33
33
/// <summary>
34
34
/// The twitch app redirect link.
35
35
/// </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";
37
37
38
38
/// <summary>
39
39
/// The reference to the clipboard API.
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public static async Task<TwitchApiWrapper> CreateApi() {
74
74
}
75
75
76
76
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";
78
78
var request = new HttpRequestMessage ( HttpMethod . Post , url ) ;
79
79
using HttpResponseMessage response =
80
80
await client . PostAsJsonAsync ( request . RequestUri , $ "{{\" refreshToken\" :\" { OAuth ? . RefreshToken } \" }}") ;
You can’t perform that action at this time.
0 commit comments