Skip to content

Commit 60c472c

Browse files
author
Meyn
committed
Fix Http Error (#2)
1 parent 9b1b6f7 commit 60c472c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

SpotifyToM3U/Core/SpotifyConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class SpotifyConfig
1414
{
1515
public string ClientId { get; set; } = "your_client_id_here";
1616
public string ClientSecret { get; set; } = "your_client_secret_here";
17-
public string RedirectUri { get; set; } = "http://localhost:5000/callback";
17+
public string RedirectUri { get; set; } = "https://localhost:5000/callback";
1818
public List<string> Scopes { get; set; } = new()
1919
{
2020
SpotifyAPI.Web.Scopes.PlaylistReadPrivate,

SpotifyToM3U/MVVM/View/Windows/SpotifySetupWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@
328328
Margin="0,0,0,4" />
329329

330330
<!-- Selectable TextBox for the URL -->
331-
<TextBox Text="http://localhost:5000/callback"
331+
<TextBox Text="https://localhost:5000/callback"
332332
Style="{StaticResource SelectableTextBox}"
333333
Margin="0,4,0,8"
334334
ToolTip="Click to select all text, then copy with Ctrl+C" />

SpotifyToM3U/MVVM/ViewModel/SpotifySetupVM.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ private void CopyRedirectUri()
6969
{
7070
try
7171
{
72-
Clipboard.SetText("http://localhost:5000/callback");
72+
Clipboard.SetText("https://localhost:5000/callback");
7373
StatusMessage = "Redirect URI copied to clipboard!";
7474
}
7575
catch (Exception ex)
@@ -100,7 +100,7 @@ private async Task SaveConfigurationAsync()
100100
{
101101
ClientId = ClientId.Trim(),
102102
ClientSecret = ClientSecret.Trim(),
103-
RedirectUri = "http://localhost:5000/callback",
103+
RedirectUri = "https://localhost:5000/callback",
104104
Scopes = new()
105105
{
106106
SpotifyAPI.Web.Scopes.PlaylistReadPrivate,

0 commit comments

Comments
 (0)