Change Back-end URL in the Front-end Bundle
To change the Back-end URL in the Front-end Compiled (Production) Bundle you must replace the raw value in the javascript with a pattern replace.
Make a backup before doing this.
backendURL=""
oldBackendURL=""
frontendPath="/var/lib/interlock/interlock_frontend"
sed -i "s/\"$oldBackendURL\"/\"$backendURL\"/g" $frontendPath/js/app*.js
sed -i "s/\"$oldBackendURL\"/\"$backendURL\"/g" $frontendPath/js/app*.map