fix(web): remove prefixo duplicado /api/v1 no DevLogin

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-28 00:57:22 +00:00
parent acab5b8a55
commit 56ca650962

View File

@@ -24,7 +24,7 @@ export function DevLogin({ onLogin }: { onLogin: () => void }) {
setLoading(user.userId);
setError(null);
try {
const raw = await apiFetch('/api/v1/auth/dev/token', {
const raw = await apiFetch('/auth/dev/token', {
method: 'POST',
body: { userId: user.userId, workspaceId: 'dev-workspace', role: user.role },
});