Update App.jsx via upload script - 2026-08-01 16:26:13

This commit is contained in:
mike 2026-08-01 16:26:35 +08:00
parent 1bdb84c240
commit 090774f86d
1 changed files with 3 additions and 3 deletions

View File

@ -4450,10 +4450,10 @@ function JmsPage({ lines, onSave, onDelete, onCheck, onNotify }) {
setGroup(g);
if (g === 'selfbuilt') {
setProtocol('vless-cdn');
setDraft(d => ({ name: d.name, addr: d.addr || 'pb.impromx.com', port: d.port || '443', ws_path: d.ws_path || '/stickrouter' }));
setDraft(d => ({ ...d, addr: d.addr || 'pb.impromx.com', port: d.port || '443', ws_path: d.ws_path || '/stickrouter' }));
} else {
setProtocol('ss');
setDraft(d => ({ name: d.name, addr: d.addr, port: d.port }));
setProtocol(p => JMS_PROTOCOLS.includes(p) ? p : 'ss');
setDraft(d => ({ ...d }));
}
}