Committing work fixing issues found while testing on dev1.bookmarks
- Modified EnvironmentUtils to fix proper casing for getting ASPNETCore_Environment - On Web, modify package.json to delete 'homepage': '.', line to fix issue with app not serving up subroutes. See: https://stackoverflow.com/questions/63036631/nginx-returning-404-when-trying-get-subroute-in-dockerized-react-app - Added docker-compose for easier setup and deployment of local docker containers
This commit is contained in:
@ -4,6 +4,6 @@ namespace YABA.Common.Utils
|
||||
{
|
||||
public static class EnvironmentUtils
|
||||
{
|
||||
public static bool IsDevelopmentEnvironment() => Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") == "Development";
|
||||
public static bool IsDevelopmentEnvironment() => Environment.GetEnvironmentVariable("ASPNETCORE_Environment") == "Development";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user