Fix dashboard authentication and routing issues
- Fix NODE_ENV=production cookie security issue for local development - Add production API URL configuration (.env.production) - Enable SPA routing with serve -s flag for frontend - Fix React hooks violation in DashboardPage (error #310) - Move useQuery hooks before conditional returns - Rebuild frontend with all fixes applied Resolves dashboard 401 errors, 404 routing issues, and React error #310
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
# https://curl.se/docs/http-cookies.html
|
||||
# This file was generated by libcurl! Edit at your own risk.
|
||||
|
||||
#HttpOnly_localhost FALSE / FALSE 1756239219 auth_token eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWVpemIwMHMwMDA4eHFmNDkzeWcyMDMzIiwiZW1haWwiOiJuZXd1c2VyQGV4YW1wbGUuY29tIiwiaWF0IjoxNzU1NjM0NDE5LCJleHAiOjE3NTYyMzkyMTl9.q4oNCjDq2_Hem7m5hkeL_Exlm1srEJiDpV5ZhowuvPM
|
||||
#HttpOnly_localhost FALSE / TRUE 1756582219 auth_token eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjbWVvbmw5Y3UwMDAxejZsanBsejdrb2RrIiwiZW1haWwiOiJkZWJ1Z0B0ZXN0LmNvbSIsImlhdCI6MTc1NTk3NzQxOSwiZXhwIjoxNzU2NTgyMjE5fQ.D6QWTrDd4e5OVCTJEyOHnpZL5u5vOSpbzq8U3l9CBuo
|
||||
|
||||
Reference in New Issue
Block a user