We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 916459a commit a10d7b3Copy full SHA for a10d7b3
1 file changed
carrental-web/src/main/java/ch/xxx/carrental/ui/rest/CrApplication.java
@@ -15,6 +15,8 @@
15
*/
16
package ch.xxx.carrental.ui.rest;
17
18
+import java.net.InetAddress;
19
+import java.net.UnknownHostException;
20
import java.util.HashSet;
21
import java.util.Set;
22
@@ -38,9 +40,8 @@ public class CrApplication extends Application {
38
40
39
41
public CrApplication() {
42
BeanConfig beanConfig = new BeanConfig();
- beanConfig.setVersion("1.5.10");
- beanConfig.setSchemes(new String[]{"http"});
43
- beanConfig.setHost("localhost:8080");
+ beanConfig.setVersion("4.14.2");
44
+ beanConfig.setSchemes(new String[]{"http", "https"});
45
beanConfig.setBasePath("/carrental-web/rest");
46
beanConfig.setResourcePackage("ch.xxx.carrental.ui.rest.model");
47
beanConfig.setScan(true);
0 commit comments