lustre-labs / dev-tools

Lustre's CLI and development tooling: zero-config dev server, bundling, and scaffolding.
55 stars 17 forks source link

:arrow_up: Update gleam_httpc dependency to 3.0 #74

Closed edman closed 1 month ago

edman commented 1 month ago

gleam_httpc 3.0.0 disables autoredirect by default. This solves some issues when using the lustre dev proxy.

For example, when running

gleam run -m lustre/dev start --proxy-from=/api --proxy-to=http://localhost:8000/api

If the app makes a DELETE /api/session request, which returns a 303 redirect to /login, the lustre proxy will now return the 303 to the application.