one-api/middleware
Shine dbe2b54099 feat: 配置 CORS 以暴露上游响应时间标头
- 在 CORS 配置中添加 `x-one-api-upstream-time` 到 ExposeHeaders
2025-03-12 18:58:10 +08:00
..
auth.go feat: add Proxy channel type and relay mode (#1678) 2024-07-22 22:51:19 +08:00
cache.go fix: add no-cache for index.html 2023-05-22 00:54:53 +08:00
cors.go feat: 配置 CORS 以暴露上游响应时间标头 2025-03-12 18:58:10 +08:00
distributor.go chore: add debug log for distributor 2025-01-31 17:26:33 +08:00
gzip.go feat: support gzip decode (#1962) 2024-12-04 23:34:24 +08:00
language.go feat: initial official i18n support for backend 2025-02-02 15:09:31 +08:00
logger.go feat: support cloudflare now 2024-04-26 23:05:48 +08:00
rate-limit.go feat: i18n support 2025-02-01 23:48:05 +08:00
recover.go chore: add more info for panic fix 2024-03-10 23:59:35 +08:00
request-id.go feat: record request_id 2025-01-31 17:54:04 +08:00
turnstile-check.go chore: update module name 2024-01-28 19:38:58 +08:00
utils.go feat: support cloudflare now 2024-04-26 23:05:48 +08:00