This commit is contained in:
Manav Rathi
2024-06-06 12:41:50 +05:30
parent 4bdca0f09f
commit 4d2e4f0194
2 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ import {
generateEncryptionKey,
} from "@ente/shared/crypto/internal/libsodium";
import { useLocalState } from "@ente/shared/hooks/useLocalState";
import { getAccountsURL } from "@ente/shared/network/api";
import { accountsAppURL } from "@ente/shared/network/api";
import { LS_KEYS, getData, setData } from "@ente/shared/storage/localStorage";
import { THEME_COLOR } from "@ente/shared/themes/constants";
import { downloadAsFile } from "@ente/shared/utils";
@@ -510,7 +510,7 @@ const UtilitySection: React.FC<UtilitySectionProps> = ({ closeSidebar }) => {
const accountsToken = await getAccountsToken();
window.open(
`${getAccountsURL()}${
`${accountsAppURL()}${
ACCOUNTS_PAGES.ACCOUNT_HANDOFF
}?package=${clientPackageName["photos"]}&token=${accountsToken}`,
);

View File

@@ -342,7 +342,7 @@ credential authentication. We use Accounts as the central WebAuthn hub because
credentials are locked to an FQDN.
```tsx
window.location.href = `${getAccountsURL()}/passkeys/flow?passkeySessionID=${passkeySessionID}&redirect=${
window.location.href = `${accountsAppURL()}/passkeys/flow?passkeySessionID=${passkeySessionID}&redirect=${
window.location.origin
}/passkeys/finish`;
```