Skip to content

Commit

Permalink
Merge pull request #87 from rpelisse/master
Browse files Browse the repository at this point in the history
Fix undertow handler creation plus a minor fix to the jcliff script
  • Loading branch information
bserdar authored Aug 28, 2019
2 parents 739d281 + 87511f4 commit 13a9ac3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/undertow
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ filterConfig_ResponseHeader_modify.rule=/subsystem=undertow/configuration=filter


match.handlerConfig_file_add=add:/configuration/handler/file/*
handlerConfig_file_add.rule=/subsystem=undertow/configuration=handler/file=${name(.)}:add
handlerConfig_file_add.rule=/subsystem=undertow/configuration=handler/file=${name(.)}:add(path=${value(path)} ${if-defined (directory-listing),(,directory-listing=${value(directory-listing)})})
handlerConfig_file_add.refresh=true
handlerConfig_file_add.precedence=100

Expand Down
2 changes: 1 addition & 1 deletion src/main/scripts/jcliff
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if [ -z "${JBOSS_HOME}" ]; then
exit 1
fi

readonly JCLIFF_HOME=${JCLIFF_HOME:-'/usr/share/jcliff-2.11.13'}
readonly JCLIFF_HOME=${JCLIFF_HOME:-'/usr/share/jcliff'}
if [ ! -d "${JCLIFF_HOME}" ]; then
echo "Provided JCLIFF_HOME is NOT a directory or does not exist: ${JCLIFF_HOME}."
exit 2
Expand Down

0 comments on commit 13a9ac3

Please sign in to comment.