Point API base URL to parche.montest.ir

Production and Vite proxy now target the montest host where the OTP
endpoint responds; rebuild dist for deploy.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-08 21:54:14 +03:30
co-authored by Cursor
parent b788fe069e
commit 6ee3c6f1f8
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ const TOKEN_KEY = 'ft_access_token'
export function getApiBaseUrl(): string {
return (import.meta.env.VITE_API_BASE_URL as string | undefined)?.replace(/\/$/, '')
|| 'https://parche.montech.ir/server/api'
|| 'https://parche.montest.ir/server/api'
}
export function getAccessToken(): string | null {