I am new to SharePoint and SPFx solutions. Recently I created an SPFx solution which is basically a react spa application which replaces the homepage of the SharePoint site. But the solution adds '#/' at the end of the main URL. Any one know why this is being added?
For example the URL I need is https://site-name
but once the solution is deployed I see that the URL is https://site-name#/
Any one know how to solve this issue?
#
in URL (you should not)? As you are using URL routing, your default router must be#
. So, whenever, you load the SPA, it adds the the default routers (#) at the end of the site page URL.