PluralKit/services/web-proxy
Ambre Bertucci 95389e8df8
feat(api): allow custom user-agents in cors headers (#520)
Firefox's (correct) CORS implementation considers `User-Agent` as a forbidden header and requires the server to explicitly opt into custom UAs by allowing this header in `Access-Control-Allow-Headers`.

This commit enables CSR apps to correctly communicate which tools they are part of.
2023-02-15 17:42:22 +00:00
..
redis_rate feat(api): create api proxy/ratelimiting/metrics 2022-11-18 02:54:37 +00:00
Dockerfile feat(api): create api proxy/ratelimiting/metrics 2022-11-18 02:54:37 +00:00
fly.toml feat(api): create api proxy/ratelimiting/metrics 2022-11-18 02:54:37 +00:00
go.mod feat(api): create api proxy/ratelimiting/metrics 2022-11-18 02:54:37 +00:00
go.sum feat(api): create api proxy/ratelimiting/metrics 2022-11-18 02:54:37 +00:00
main.go feat(api): allow custom user-agents in cors headers (#520) 2023-02-15 17:42:22 +00:00
rate_limit.go feat(api): create api proxy/ratelimiting/metrics 2022-11-18 02:54:37 +00:00
util.go feat(web-proxy): throw error when trying to access apiv1 on apiv2 2022-12-03 12:00:41 +00:00