Skip to content

Commit

Permalink
Update install_ant-media-server.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
muratugureminoglu authored Jan 3, 2025
1 parent 36b163e commit be34329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install_ant-media-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ restore_settings() {
if [ "$(printf '%s\n' "$TOKEN_GENERATOR_REMOVED_VERSION" "$VERSION" | sort -V | head -n1)" == "$TOKEN_GENERATOR_REMOVED_VERSION" ]; then
#remove token generator from jee-container.xml
$SUDO sed -i '/<bean[[:space:]]*id="tokenGenerator"[[:space:]]*class="io.antmedia.filter.TokenGenerator"[[:space:]]*\/>/d' $AMS_BASE/conf/jee-container.xml
$SUDO sed -i '/<property[[:space:]]*name="tokenGenerator"[[:space:]]*ref="tokenGenerator"[[:space:]]*\/>/d' $AMS_BASE/conf/jee-container.xml
$SUDO sed -i '/<property[[:space:]]*name="tokenGenerator"[[:space:]]*ref="tokenGenerator"[[:space:]]*\/>/d' $AMS_BASE/conf/jee-container.xml
fi

#SSL Restore
Expand Down

0 comments on commit be34329

Please sign in to comment.