change selfhost url to match webhost url