Attempted to fix frontend urls. Not tested.