Skip to content

Commit

Permalink
RANGER-5122: fixed path for images
Browse files Browse the repository at this point in the history
  • Loading branch information
developster committed Jan 29, 2025
1 parent cbf4152 commit 4b0bc8c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions security-admin/scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ audit_solr_max_shards_per_node=$(get_prop 'audit_solr_max_shards_per_node' $PROP
audit_solr_acl_user_list_sasl=$(get_prop 'audit_solr_acl_user_list_sasl' $PROPFILE)
audit_solr_bootstrap_enabled=$(get_prop 'audit_solr_bootstrap_enabled' $PROPFILE)

xa_webapp_contextName=$(get_prop 'xa.webapp.contextName' $PROPFILE)

DB_HOST="${db_host}"

check_ret_status(){
Expand Down Expand Up @@ -610,6 +612,13 @@ update_properties() {
updatePropertyToFilePy $propertyName $newPropertyValue $to_file_ranger
fi

if [ "${xa_webapp_contextName}" != "" ]
then
propertyName=ranger.contextName
newPropertyValue="${xa_webapp_contextName}"
updatePropertyToFilePy $propertyName $newPropertyValue $to_file_default
fi

if [ "${db_ssl_enabled}" != "" ]
then
propertyName=ranger.db.ssl.enabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ module.exports = {
options: {
name: "[contenthash].[ext]",
outputPath: "images/",
publicPath: "../images/"
publicPath: "./images/"
}
}
]
Expand Down

0 comments on commit 4b0bc8c

Please sign in to comment.