diff --git a/config/env.go b/config/env.go index 5b100dde..56f6ef99 100644 --- a/config/env.go +++ b/config/env.go @@ -103,11 +103,8 @@ func readEnv(filePath string) (AppEnv, error) { } func makeApp(env AppEnv, name string) (App, error) { - // Checking for domain and type as they are required - apps wont work without them - domain, ok := env["DOMAIN"] - if !ok { - return App{}, errors.New("missing DOMAIN variable") - } + // Checking for type as it is required - apps wont work without it + domain := env["DOMAIN"] apptype, ok := env["TYPE"] if !ok { return App{}, errors.New("missing TYPE variable")