SSR을 비활성화하여 SPA로 전환

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
staticandClaude Opus 5.5 committed 2026-10-11 20:49:24 +09:00
1 parent b35585c7bb
commit 35f3e92b5a
34 files changed
+152 -139

No files matched your search

+3 -3
View File
@@ -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