Logo
Explore Help
Sign In
admin777/new-api
1
0
Fork 0
You've already forked new-api
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
new-api/web/src/constants/common.constant.js

3 lines
147 B
JavaScript
Raw Normal View History

Initial commit
2023-04-22 20:39:27 +08:00
export const ITEMS_PER_PAGE = 10; // this value must keep same as the one defined in backend!
🗑️ chore(custom channel): Remove custom channel support from upstream ratio sync Remove all custom channel functionality from the upstream ratio sync feature to simplify the codebase and focus on database-stored channels only. Changes: - Remove custom channel UI components and related state management - Remove custom channel testing and validation logic - Simplify ChannelSelectorModal by removing custom channel input fields - Update API payload to only include channel_ids, removing custom_channels - Remove custom channel processing logic from backend controller - Update import path for DEFAULT_ENDPOINT constant Files modified: - web/src/pages/Setting/Ratio/UpstreamRatioSync.js - web/src/components/settings/ChannelSelectorModal.js - controller/ratio_sync.go This change streamlines the ratio synchronization workflow by focusing solely on pre-configured database channels, reducing complexity and potential maintenance overhead.
2025-06-19 15:17:05 +08:00
export const DEFAULT_ENDPOINT = '/api/ratio_config';
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.1 Page: 203ms Template: 3ms
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