Skip to content

Commit

Permalink
Fixes issue piranhacloud#3468 - Add --context-path support
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem committed Jul 1, 2023
1 parent ef5aa17 commit cd63dde
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ public MicroEmbeddedPiranha buildAndStart() {
configuration.setHttpStart(false);
}

if (configuration.getRoot() != null) {
if (configuration.getContextPath()!= null) {
// If an explicit root is set, use it. Otherwise use the default.
microWebApplication.setContextPath(configuration.getRoot());
microWebApplication.setContextPath(configuration.getContextPath());
}

microWebApplication.setDeployedApplication(
Expand Down

0 comments on commit cd63dde

Please sign in to comment.