electric-sql / electric-sql/electric

Honor 301 redirects

Open
#2,898 0 comments 0 reactions 0 assignees View on GitHub
triage
Dominant language
TypeScript
Stars
10.4k
Forks
375
Avg merge
3d 1h
Merged PRs (30d)
18

Description

**Versions**
- Client: TanstackDB's electric collection
- Electric: version @tanstack/electric-db-collection@0.0.9

**Bug description**
I have my UI responding with a 301 to redirect it to the authorizer fn, but it loses all query params when it does that.

**Expected behavior**
Use 301s to direct clients to the authorizer fn in a way that is cachable and reusable for all users.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.