one-api/middleware
Laisky.Cai b3ebf069e2 feat: change default token prefix to laisky-
- Remove prefix "laisky-" from the variable "key" in [middleware/auth.go]
- Modify error message from "用户已被封禁" to "用户已被禁用" in [middleware/auth.go]
- Remove check for "consumeQuota" when request URL starts with "/v1/models" in [middleware/auth.go]
- Add ability for admin users to set "channelId" in context in [middleware/auth.go]
- Update URL and key for `ama` and `opencat` links, and key format for `url` in links in [web/src/components/TokensTable.js]
- Update URL for `nextUrl` in [web/src/components/TokensTable.js]
- Change variable names and improve search function for token names in [web/src/components/TokensTable.js]
- Add delete confirmation popup, copy and open link buttons, sorting functionality for column header, and loading state in [web/src/components/TokensTable.js]
- Update pagination to load more data in [web/src/components/TokensTable.js]
- Update rendering of token information, including quota and timestamp in [web/src/components/TokensTable.js]
2023-10-19 09:01:03 +00:00
..
auth.go feat: change default token prefix to laisky- 2023-10-19 09:01:03 +00: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: fix unable to set zero value for base url & model mapping 2023-09-18 22:07:17 +08:00
logger.go refactor: update logging related logic 2023-09-17 15:39:46 +08:00
rate-limit.go Rename to One API 2023-04-22 21:14:09 +08:00
request-id.go refactor: update logging related logic 2023-09-17 15:39:46 +08:00
turnstile-check.go Rename to One API 2023-04-22 21:14:09 +08:00
utils.go refactor: update logging related logic 2023-09-17 15:39:46 +08:00