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:
1
apps/web/.env.production
Normal file
1
apps/web/.env.production
Normal file
@@ -0,0 +1 @@
|
||||
VITE_API_URL=https://api.urltrackertool.com
|
||||
Reference in New Issue
Block a user