Skip to content

Commit 4ac55fd

Browse files
committed
Fix data path.
1 parent c9c5534 commit 4ac55fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

MyApp/Components/Pages/gallery/DataGrid/Custom.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313

1414
protected override async Task OnInitializedAsync()
1515
{
16-
forecasts = await Http.GetFromJsonAsync<List<WeatherForecast>>("data/weather.json") ?? new();
16+
forecasts = await Http.GetFromJsonAsync<List<WeatherForecast>>("/data/weather.json") ?? new();
1717
}
1818
}

0 commit comments

Comments
 (0)