refactor: remove ASPNETCORE_PORT configuration from server settings
This commit is contained in:
parent
c389a58832
commit
f3c4f231a9
1 changed files with 0 additions and 4 deletions
|
|
@ -74,10 +74,6 @@ func Load() *Config {
|
|||
// Server config
|
||||
Cfg.Server.Port = getEnvAsInt("PORT", 1323)
|
||||
|
||||
if os.Getenv("ASPNETCORE_PORT") != "" {
|
||||
Cfg.Server.Port = getEnvAsInt("ASPNETCORE_PORT", 1323)
|
||||
}
|
||||
|
||||
// Validate required config
|
||||
if Cfg.Database.Password == "" {
|
||||
fmt.Printf("required environment variable POSTGRES_PASSWORD not set\n")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue