AzUrlShortener
AzUrlShortener copied to clipboard
Redirect to Default when no Vanity path is provided
Currently when you visit the root domain (e.g. just the root domain https://shortenertool-12345-fa.azurewebsites.net), you are presented with the "Your Functions App is Up and Running" page.
The result of no path provided should be the same as a path provided that's not in the table - redirect to the default. When using a custom domain this can be achieved with a redirect rule, but it's not preferable.
This would help to obfuscate the underlying platform which is beneficial from a security standpoint.
Thanks!
@asthalonworks If your goal is only to hide the fact that you are using an Azure Functions App, you can disable the homepage. https://learn.microsoft.com/en-us/azure/azure-functions/functions-app-settings#azurewebjobsdisablehomepage
+1 this would be a very useful feature for the URL shortener's usability.
Looks like there is already a linked PR that implements it?