Changeset 90f7842 for src/lib/auth.ts
- Timestamp:
- 12/21/25 18:36:39 (9 months ago)
- Branches:
- master
- Children:
- 997d094
- Parents:
- b67f274
- File:
-
- 1 edited
-
src/lib/auth.ts (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/lib/auth.ts
rb67f274 r90f7842 74 74 75 75 export async function login(params: { email: string; password: string }) { 76 const baseUrl = process.env.NEXT_PUBLIC_API_BASE_URL ?? 'http ://localhost:5147';76 const baseUrl = process.env.NEXT_PUBLIC_API_BASE_URL ?? 'https://iknow-api.onrender.com'; 77 77 78 78 const response = await fetch(`${baseUrl}/api/auth/login`, {
Note:
See TracChangeset
for help on using the changeset viewer.
