Commit Graph
7 Commits
Author SHA1 Message Date
Agent Zero 7c94594798 Merge branch 'master' of https://git.kevlarai.com/ClassroomCopilot/app 2026-02-23 21:16:40 +00:00
Agent Zero 43040d8ae0 chore: add .bak files to gitignore 2026-02-23 21:16:29 +00:00
Agent Zero 341c551ea5 refactor: simplify UserContext and supabaseClient
- Refactored UserContext.tsx (67 lines simplified)
- Simplified supabaseClient.ts (82 lines reduced)
- Updated .env.development for local dev
2026-02-23 17:48:14 +00:00
Agent Zero de78090963 chore: clean up frontend dev config
- Update vite.config.ts HMR host to 192.168.0.94 for container dev
- Remove obsolete .env.dev and .env.prod files
- These old env files contained outdated anon keys causing 401 errors
- .env.development is now the single source of truth for dev config
2026-02-23 03:40:09 +00:00
Agent Zero 80434b7668 fix: Update VITE_SUPABASE_ANON_KEY with correct JWT signing 2026-02-23 03:28:26 +00:00
Agent Zero 1efdadb652 fix: update dev environment to use container IPs instead of localhost
- Changed VITE_SUPABASE_URL from http://localhost:8000 to http://192.168.0.155:8000
- Changed VITE_API_URL from http://localhost:8000 to http://192.168.0.63:8000
- Fixes connection refused errors during login in development environment

Applies to both .env.development and .env.dev files.
2026-02-22 23:31:01 +00:00
Agent Zero ca9e197cdc fix: correct HMR config for SSL proxy and fix define block bugs
- Fixed HMR to use WSS when behind SSL proxy
- Fixed define block - values now properly JSON.stringify'd
- Changed server.host to '0.0.0.0' for proper container binding
- Created .env.development for automatic env loading
- Uses loadEnv() to properly load environment files
2026-02-22 23:18:39 +00:00