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 {
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.
Original file line number Diff line number Diff 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 } \" }}") ;
You can’t perform that action at this time.
0 commit comments