C#C
C#2y ago
mindhardt

✅ Setting app's address (Blazor 8 SSR)

I have created a Blazor 8 wasm+ssr app, but after deployment my redirects broke.

The app is hosted on my home server via KeenDNS (Keenetic DNS), apparently it proxies requests in such a way that redirects in ssr end up leading to addresses like http://192.168.1.45/Account/Login which is an internal address of the server in a home network

I want to somehow specify the app's address so that it redirects to itself properly. Setting ASPNETCORE_URLS didn't help cuz KeenDNS url is https so asp starts asking for ssl certs that I don't own, they are managed by KeenDNS.

Any ideas of how to fix this?
Was this page helpful?