Skip to content
Snippets Groups Projects
Commit ff4d7352 authored by Bob Mottram's avatar Bob Mottram
Browse files

remove .local domains from web UI

parent 069a8f44
No related branches found
No related tags found
No related merge requests found
......@@ -545,7 +545,11 @@ function web_admin_create_installed_apps {
if [[ "$ONION_ONLY" != 'no' ]]; then
sed -i '/APPURL/d' "$filename"
else
sed -i "s|APPURL|${domain_name}|g" "$filename"
if [[ "${domain_name}" != *'.local' ]]; then
sed -i "s|APPURL|${domain_name}|g" "$filename"
else
sed -i '/APPURL/d' "$filename"
fi
fi
sed -i "s|APPDESCRIPTION|${DESCRIPTION}|g" "$filename"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment