mirror of
https://github.com/ente-io/ente.git
synced 2025-07-29 05:12:39 +00:00
Fix
This commit is contained in:
parent
8854807f09
commit
28ba02a2ef
@ -85,7 +85,7 @@ export const getPasskeyRegistrationOptions = async () => {
|
||||
* the whitelisted URLs that we allow redirecting to on success.
|
||||
*/
|
||||
export const isWhitelistedRedirect = (redirectURL: URL) =>
|
||||
(isDevBuild && redirectURL.host.endsWith("localhost")) ||
|
||||
(isDevBuild && redirectURL.hostname.endsWith("localhost")) ||
|
||||
redirectURL.host.endsWith(".ente.io") ||
|
||||
redirectURL.host.endsWith(".ente.sh") ||
|
||||
redirectURL.protocol == "ente:" ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user