()
| 28 | } |
| 29 | |
| 30 | public static ServerUrlConfig webWolf() { |
| 31 | return new ServerUrlConfig( |
| 32 | "localhost", env("WEBWOLF_PORT", "9090"), env("WEBWOLF_CONTEXT", "WebWolf")); |
| 33 | } |
| 34 | |
| 35 | private static String env(String variableName, String defaultValue) { |
| 36 | return System.getenv().getOrDefault(variableName, "").isEmpty() |
no test coverage detected