Skip to content

Commit

Permalink
Merge pull request #31 from egvijayanand/working
Browse files Browse the repository at this point in the history
Base URL updated
  • Loading branch information
egvijayanand authored Oct 25, 2023
2 parents 25a6918 + b11fd53 commit 9af4c1f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/BlazorApp/BlazorApp.Wasm/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ public static async Task Main(string[] args)

host.Services.AddHttpClient(Constants.DataStore.GitHub, client =>
{
client.BaseAddress = new Uri("https://raw.githubusercontent.com/weeklyxamarin/WeeklyXamarin.content/master/content/");
// GitHub Raw URLs not working
//client.BaseAddress = new Uri("https://raw.githubusercontent.com/weeklyxamarin/WeeklyXamarin.content/master/content/");
// Since everything is JSON file content, making use of the direct URLs
client.BaseAddress = new Uri("https://github.com/weeklyxamarin/WeeklyXamarin.content/blob/master/content/");
});

await host.Build().RunAsync();
Expand Down

0 comments on commit 9af4c1f

Please sign in to comment.