✨ feat(account): update login response and modify CORS origin
- Changed the CORS origin from `http://localhost:3000` to `http://localhost:5173`. - Updated the login response to return a comprehensive object containing the `accessToken` and user profile data. - Modified cookie setup to directly use `result.accessToken` instead of `result`. - Refactored account service to include additional user fields in the login data returned. - Added `dist` to `.gitignore`.
This commit is contained in:
+2
-1
@@ -4,4 +4,5 @@ node_modules
|
||||
.env.example
|
||||
.env.prod
|
||||
package-lock.json
|
||||
prisma/generated/
|
||||
prisma/generated/
|
||||
dist
|
||||
Reference in New Issue
Block a user