AzUrlShortener icon indicating copy to clipboard operation
AzUrlShortener copied to clipboard

Urlredirect Function is never called

Open Zeik0s opened this issue 1 year ago • 1 comments

Hi,

in my example deployment on azure the urlredirect function is never called (according to the Application Insights) and therefore the redirect not working.

  • the correct entries are present in the storage account (in the table)
  • the entries were created with Tiny Blazor Admin
  • no custom domain is set (as i wanted to test the app and docs says that it should work without)
  • i tried the URL paths here https://github.com/microsoft/AzUrlShortener/issues/443#issue-1485749252, but neither one did work.

Zeik0s avatar Jan 30 '24 10:01 Zeik0s

Ok, i figured it out: when deploying for testing the Tiny Blazor Admin of course has a different domain assigned than the Azure Function. Somehow (without specifying a custom domain) the two domains mix up, as seen in the Screenshot below from the mouseover in Tiny Blazor Admin:
image

Calling the Azure Function URL directly with the right domain works of course as intended.

Zeik0s avatar Feb 07 '24 09:02 Zeik0s