bitfoundation / bitplatform

Build all of your apps using what you already know and love ❤️
https://bitplatform.dev
MIT License
1.04k stars 217 forks source link

Redundant `IsDevelopment` check in the startup of the `BlazorDual` project template #5629

Closed msynk closed 7 months ago

msynk commented 8 months ago

Currently, there is a redundant develop env check in the Middleware.cs file of the startup in the BlazorDual:

image

the ideal change should be something like this:

image

the line is in the following link:

https://github.com/bitfoundation/bitplatform/blob/fcb83f2c6da2a1b42c792497b39f977426e96917/src/Templates/BlazorDual/Bit.BlazorDual/src/BlazorDual.Api/Startup/Middlewares.cs#L19

msynk commented 7 months ago

resolved