in app/config/Config.scala [69:79]
def getPropertyIfEnabled(enabled: Boolean, path: String): String =
if (enabled) getOptionalProperty(path, config.getString).getOrElse(sys.error(s"Property $path is required"))
else s"feature requiring $path is disabled"
private def domainFromStage(stage: String): String = {
stage match {
case "PROD" => "gutools.co.uk"
case "DEV" => "local.dev-gutools.co.uk"
case x => x.toLowerCase() + ".dev-gutools.co.uk"
}
}