fix(config-ui): handle missing HTTP/3 config safely and standardize overview section headings

This commit is contained in:
2026-04-04 19:03:11 +00:00
parent 59e0d41bdb
commit ffcc35be64
7 changed files with 30 additions and 21 deletions

View File

@@ -386,7 +386,7 @@ export class RouteConfigManager {
for (const stored of this.storedRoutes.values()) {
if (stored.enabled) {
let route = stored.route;
if (http3Config && http3Config.enabled !== false) {
if (http3Config?.enabled !== false) {
route = augmentRouteWithHttp3(route, { enabled: true, ...http3Config });
}
enabledRoutes.push(injectVpn(route));