mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-11-04 08:10:28 +09:00
SSR을 비활성화하여 SPA로 전환
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b35585c7bb
commit
35f3e92b5a
34 files changed
+152
-139
No files matched your search
@@ -10,7 +10,7 @@ export const requestSessionUpgrade = async (
|
||||
) => {
|
||||
let id, challenge;
|
||||
try {
|
||||
({ id, challenge } = await trpc().auth.upgrade.mutate({
|
||||
({ id, challenge } = await trpc.auth.upgrade.mutate({
|
||||
encPubKey: encryptKeyBase64,
|
||||
sigPubKey: verifyKeyBase64,
|
||||
}));
|
||||
@@ -24,7 +24,7 @@ export const requestSessionUpgrade = async (
|
||||
const answerSig = await signMessageRSA(answer, signKey);
|
||||
|
||||
try {
|
||||
await trpc().auth.verifyUpgrade.mutate({
|
||||
await trpc.auth.verifyUpgrade.mutate({
|
||||
id,
|
||||
answerSig: encodeToBase64(answerSig),
|
||||
force,
|
||||
@@ -41,7 +41,7 @@ export const requestSessionUpgrade = async (
|
||||
|
||||
export const requestLogout = async () => {
|
||||
try {
|
||||
await trpc().auth.logout.mutate();
|
||||
await trpc.auth.logout.mutate();
|
||||
return true;
|
||||
} catch {
|
||||
// TODO: Error Handling
|
||||
|
||||
Reference in new issue
Block a user