Fixes a bug where the protocol was missing from the URL_PREFIX.