Revert "chore: change default port to 7897"

This reverts commit 55835785c0.
This commit is contained in:
MystiPanda
2023-12-07 13:32:49 +08:00
parent 55835785c0
commit 8de2712652
6 changed files with 16 additions and 16 deletions

View File

@@ -14,7 +14,7 @@ export const ClashPortViewer = forwardRef<DialogRef>((props, ref) => {
const [open, setOpen] = useState(false);
const [port, setPort] = useState(
verge?.verge_mixed_port ?? clashInfo?.port ?? 7897
verge?.verge_mixed_port ?? clashInfo?.port ?? 7890
);
useImperativeHandle(ref, () => ({

View File

@@ -59,7 +59,7 @@ export const WebUIViewer = forwardRef<DialogRef>((props, ref) => {
.slice(clashInfo.server.indexOf(":") + 1)
.trim();
url = url.replaceAll("%port", port || "9097");
url = url.replaceAll("%port", port || "9090");
url = url.replaceAll(
"%secret",
encodeURIComponent(clashInfo.secret || "")