koel domain name

This commit is contained in:
Bob Mottram 2017-05-25 23:53:59 +01:00
parent 2583b4d96e
commit eaac55f03a
1 changed files with 2 additions and 2 deletions

View File

@ -51,8 +51,8 @@ koel_variables=(ONION_ONLY
function koel_remove_gravatar {
cd /var/www/${KOEL_DOMAIN_NAME}/htdocs
sed -i 's|www.gravatar.com|music.freedombone.net|g' node_modules/browser-sync-ui/public/js/app.js.map
sed -i 's|www.gravatar.com|music.freedombone.net|g' public/js/app.*.js
sed -i "s|www.gravatar.com|${KOEL_DOMAIN_NAME}|g" node_modules/browser-sync-ui/public/js/app.js.map
sed -i "s|www.gravatar.com|${KOEL_DOMAIN_NAME}|g" public/js/app.*.js
if ! grep -q "//Vue.set(user, 'avatar'" resources/assets/js/stores/user.js; then
sed -i "s|Vue.set(user, 'avatar'|//Vue.set(user, 'avatar'|g" resources/assets/js/stores/user.js
fi