Just put @page “https://stackoverflow.com/” on top of your page you want to be default. Remove @page “https://stackoverflow.com/” from Index.razor
@page "https://stackoverflow.com/"
@page "/fetchdata"
Just put @page “https://stackoverflow.com/” on top of your page you want to be default. Remove @page “https://stackoverflow.com/” from Index.razor
@page "https://stackoverflow.com/"
@page "/fetchdata"