refactor(backend): auth middleware Lambda-only, drop Supabase fallback; storage S3-only, drop R2 fallback
Auth middleware now returns 401 immediately if the API Gateway authorizer context is absent, removing the Supabase getUser() local dev path and the @supabase/supabase-js import. Storage is simplified to a single S3Client using the IAM role; removes isLambda() branching, R2 env vars, and the storageEnabled export.
| Repository | dropthejase/louis |
|---|---|
| Author | Jason Lee <12leeejk2@gmail.com> |
| Authored | |
| Parents | 7024448a |
| Stats | 2 files changed , +20 , -96 |
| Part of | Backend Express app repackaged as a Lambda handler |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-c96d725d.md
from inside the repo you want the change in.