[pk] Whitelist ente-cli's custom protocol (#2194)

This commit is contained in:
Manav Rathi
2024-06-18 14:26:45 +05:30
committed by GitHub

View File

@@ -349,7 +349,8 @@ export const isWhitelistedRedirect = (redirectURL: URL) =>
redirectURL.host.endsWith(".ente.io") ||
redirectURL.host.endsWith(".ente.sh") ||
redirectURL.protocol == "ente:" ||
redirectURL.protocol == "enteauth:";
redirectURL.protocol == "enteauth:" ||
redirectURL.protocol == "ente-cli:";
export interface BeginPasskeyAuthenticationResponse {
/**