Christopher Abichandani
Christopher Abichandani
Thanks for the quick response! Does "the new way" work yet or do I need to wait for final release?
The default seems to be "Production" in development. Even though the local webserver that serves the stand-alone blazor wasm app logs the environment as "Development", logging `builder.HostEnvironment.Environment` in `Program.cs` shows...
@maraf understood! "_framework/blazor.webassembly#[.{fingerprint}].js" didn't seem to be valid when the browser requested it, but the below solution works, which I got from [the docs you linked previously](https://learn.microsoft.com/en-us/aspnet/core/blazor/fundamentals/environments?view=aspnetcore-10.0#set-the-environment). ``` if (window.location.hostname.includes("localhost"))...