diff options
| author | blackhao <13851610112@163.com> | 2025-12-10 21:07:17 -0600 |
|---|---|---|
| committer | blackhao <13851610112@163.com> | 2025-12-10 21:07:17 -0600 |
| commit | 478100200dff8400a6e47502fa4a6db035fd6532 (patch) | |
| tree | a9936debc43dc52323ed3f2c7dccca09959d2a81 /frontend/src/pages/AuthPage.tsx | |
| parent | 9646da833bc3d94564c10649b62a378d0190471e (diff) | |
fix: use relative API paths for production deployment
Diffstat (limited to 'frontend/src/pages/AuthPage.tsx')
| -rw-r--r-- | frontend/src/pages/AuthPage.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/pages/AuthPage.tsx b/frontend/src/pages/AuthPage.tsx index d213190..c80ff9d 100644 --- a/frontend/src/pages/AuthPage.tsx +++ b/frontend/src/pages/AuthPage.tsx @@ -2,7 +2,7 @@ import React, { useState, useCallback } from 'react'; import { useAuthStore } from '../store/authStore'; import { Loader2, User, Mail, Lock, AlertCircle, CheckCircle, XCircle } from 'lucide-react'; -const API_BASE = 'http://localhost:8000'; +const API_BASE = ''; interface AuthPageProps { onSuccess?: () => void; |
