Skip to content

Commit

Permalink
leshan-bsserver-demo must validate external models (from -m option)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernard31 committed Aug 12, 2021
1 parent a9593ef commit b130dc2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ public static void createAndStartServer(String webAddress, int webPort, String l
// Create Models
List<ObjectModel> models = ObjectLoader.loadDefault();
if (modelsFolderPath != null) {
models.addAll(ObjectLoader.loadObjectsFromDir(new File(modelsFolderPath)));
models.addAll(ObjectLoader.loadObjectsFromDir(new File(modelsFolderPath), true));
}

// Prepare and start bootstrap server
Expand Down

0 comments on commit b130dc2

Please sign in to comment.