diff --git a/app/soapbox/normalizers/soapbox/soapbox-config.ts b/app/soapbox/normalizers/soapbox/soapbox-config.ts index eba76454c..dfac8a777 100644 --- a/app/soapbox/normalizers/soapbox/soapbox-config.ts +++ b/app/soapbox/normalizers/soapbox/soapbox-config.ts @@ -220,7 +220,7 @@ const normalizeRedirectRootNoLogin = (soapboxConfig: SoapboxConfigMap): SoapboxC try { // Basically just get the pathname with a leading slash. - const normalized = new URL(redirectRootNoLogin, 'a://').pathname; + const normalized = new URL(redirectRootNoLogin, 'http://a').pathname; if (normalized !== '/') { return soapboxConfig.set('redirectRootNoLogin', normalized);