Could there be some CORS limitations on your api and/or SignalR endpoint?
It was not visible in the console/network output though.
Why my website not working properly if I use custom domain?
I have created an app service using the B1 tier and hosted a Blazor app for testing purposes.
After that, I've added a custom domain and configured an additional SignalR service, and pushed the app via Visual Studio.
Everything is fine, the app is up and running, I can navigate to the website using the domain.
But the problem is if I navigate to my website via the custom domain, the site doesn't work properly, the button doesn't work, SignalR seems slow, etc.
The following screenshots may help to understand properly -
Counter button and the hamburger button working if I navigate to the site using azure's free domain - https://saffron.azurewebsites.net/counter
Counter button and the hamburger button is not working if I navigate to the site using my custom domain - https://saffron.pienteger.com/counter
The problem happening on both desktop and mobile platforms. I took the screenshot using the mobile view to bring the hamburger button. Also, I've changed the browser, platform, cleared cache and cookies, but the result remained the same.
So what could be the reason and how can I solve this issue?
1 answer
Sort by: Most helpful
-
Tim vd H 1 Reputation point
2021-05-19T14:07:44.043+00:00