From fc6b4587ad7a2cc4c8e06cee59837342b52c1673 Mon Sep 17 00:00:00 2001 From: Dizzle <112548150+maxmad64bis@users.noreply.github.com> Date: Fri, 18 Sep 2026 16:34:30 +0200 Subject: [PATCH] feat(proxy): support multiple local core endpoints, one per line (#13923) Co-authored-by: Max --- .../13923-plural-local-core-endpoints.md | 1 + .../components/proxy/SubscriptionTab.tsx | 3 +- src/i18n/messages/en.json | 4 +- src/i18n/messages/vi.json | 4 +- src/lib/proxySubscription/coreEndpoint.ts | 51 ++- .../proxySubscription/subscriptionService.ts | 175 +++++-- .../proxySubscription.coreEndpoint.test.ts | 77 +++- .../unit/proxySubscription.pluralCore.test.ts | 430 ++++++++++++++++++ 8 files changed, 707 insertions(+), 38 deletions(-) create mode 100644 changelog.d/features/13923-plural-local-core-endpoints.md create mode 100644 tests/unit/proxySubscription.pluralCore.test.ts diff --git a/changelog.d/features/13923-plural-local-core-endpoints.md b/changelog.d/features/13923-plural-local-core-endpoints.md new file mode 100644 index 0000000000..25b930384b --- /dev/null +++ b/changelog.d/features/13923-plural-local-core-endpoints.md @@ -0,0 +1 @@ +- **feat(proxy):** support multiple local core endpoints, one per line ([#13923](https://github.com/diegosouzapw/OmniRoute/pull/13923) — thanks @maxmad64bis) diff --git a/src/app/(dashboard)/dashboard/settings/components/proxy/SubscriptionTab.tsx b/src/app/(dashboard)/dashboard/settings/components/proxy/SubscriptionTab.tsx index bac00d4b8d..db9f299628 100644 --- a/src/app/(dashboard)/dashboard/settings/components/proxy/SubscriptionTab.tsx +++ b/src/app/(dashboard)/dashboard/settings/components/proxy/SubscriptionTab.tsx @@ -338,7 +338,8 @@ export default function SubscriptionTab() {