Logo
Explore Help
Register Sign In
oadmin/new-api
1
0
Fork 0
You've already forked new-api
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
5ceb89867672aaab8dd4da6817ce65135ad09c02
new-api/middleware
History
CaIon eaee89f77a fix(distributor): add validation for model name in channel selection
2025-07-23 16:46:06 +08:00
..
auth.go
fix: 修复playground优先级失效
2025-07-17 22:26:38 +08:00
cache.go
fix: add no-cache for index.html
2023-05-22 00:54:53 +08:00
cors.go
fix: cors allow all headers
2023-06-20 22:04:01 +08:00
distributor.go
fix(distributor): add validation for model name in channel selection
2025-07-23 16:46:06 +08:00
gzip.go
feat: support br
2024-12-04 23:53:02 +08:00
kling_adapter.go
✨ feat(kling): send both model_name and model fields for upstream compatibility
2025-07-22 01:21:56 +08:00
logger.go
refactor: update logging related logic
2023-09-17 15:39:46 +08:00
model-rate-limit.go
✨ feat: refactor environment variable initialization and introduce new constant types for API and context keys
2025-07-03 13:10:25 +08:00
rate-limit.go
feat: 增加GLOBAL_API_RATE_LIMIT_ENABLE与GLOBAL_WEB_RATE_LIMIT_ENABLE环境变量,支持是否开启访问速率控制
2024-11-12 20:02:33 +08:00
recover.go
fix: recover panic
2024-01-07 22:25:03 +08:00
request-id.go
refactor: update logging related logic
2023-09-17 15:39:46 +08:00
stats.go
✨ feat(middleware): add HTTP statistics middleware
2025-06-10 19:29:32 +08:00
turnstile-check.go
Rename to One API
2023-04-22 21:14:09 +08:00
utils.go
feat: print user id when error
2024-07-27 17:55:36 +08:00
Powered by Gitea Version: 24.7.0 Page: 324ms Template: 16ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API