This commit is contained in:
anhefti 2019-12-11 16:02:53 +01:00
parent 18628e72ab
commit e78d5f29f8

View file

@ -122,7 +122,8 @@ public class WebserviceInit implements ApplicationListener<ApplicationReadyEvent
}
for (int i = 0; i < activeProfiles.length; i++) {
if (activeProfiles[i] != null && activeProfiles[i].contains("gui")) {
if (activeProfiles[i] != null && (activeProfiles[i].contains("gui") ||
activeProfiles[i].contains("demo"))) {
return true;
}
}