Skip to content
/ loom Public

fix(web): add /auth proxy for dev server and update .gitignore#7

Open
denverbaumgartner wants to merge 3 commits intoghuntley:trunkfrom
denverbaumgartner:fix/web-dev-proxy
Open

fix(web): add /auth proxy for dev server and update .gitignore#7
denverbaumgartner wants to merge 3 commits intoghuntley:trunkfrom
denverbaumgartner:fix/web-dev-proxy

Conversation

@denverbaumgartner
Copy link

Summary

  • Add /auth proxy to vite dev server config to enable frontend authentication
  • Update .gitignore for local development files

Changes

Web Dev Proxy Fix

The frontend was unable to authenticate during local development because the /auth endpoint was not being proxied to the backend server. This adds the missing proxy configuration.

.gitignore Updates

Ignores local development files that shouldn't be committed:

  • .env and .env.* (environment config with secrets)
  • .claude/ (Claude Code workspace settings)
  • .playwright-mcp/ (Playwright screenshots)
  • CURRENT_SESSION_CONTEXT.md (session-specific notes)
  • main.sh and /docs/ (local convenience scripts/docs)
  • package-lock.json (project uses pnpm)

Test plan

  • Start backend with ./main.sh server or equivalent
  • Start web UI with npm run dev in web/loom-web
  • Verify authentication works at http://localhost:5173

🤖 Generated with Claude Code

denverbaumgartner and others added 3 commits January 16, 2026 15:53
The aya crate (eBPF userspace library) uses Linux-specific APIs (netlink,
bpf syscalls) that cause compilation failures on macOS. This prevented
`cargo build --workspace` from succeeding on macOS.

Changes:
- Move aya dependency to Linux-only target section in Cargo.toml
- Add module-level cfg gate to loader.rs (only compiles on Linux+ebpf)
- Update cfg attributes in main.rs to require both ebpf feature AND Linux
- Add #[allow(unused_variables)] for raw_event_tx on non-Linux platforms

The audit sidecar now runs in "stub mode" on macOS (no eBPF monitoring)
while preserving full functionality on Linux.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The frontend was unable to authenticate because the /auth endpoint
was not being proxied to the backend server.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Ignore local development files that shouldn't be committed:
- .env and .env.* (environment config with secrets)
- .claude/ (Claude Code workspace settings)
- .playwright-mcp/ (Playwright screenshots)
- CURRENT_SESSION_CONTEXT.md (session-specific notes)
- main.sh and /docs/ (local convenience scripts/docs)
- package-lock.json (project uses pnpm)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant