Skip to content

Commit

Permalink
set port
Browse files Browse the repository at this point in the history
  • Loading branch information
ircfspace committed Mar 6, 2024
1 parent 7c80a43 commit 5c8ebd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hooks/useIPScanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,10 @@ export const useIPScanner = ({ allIps }: IPScannerProps) => {
for (const ip of ipList) {
increaseTestNo();

let url = `http://${ip}`;
let url = `http://${ip}:${state.portValue}`;
let path = `/cdn-cgi/trace`;
if (state.sniValue !== '' && isSSL ) {
url = `https://${ip}`;
url = `https://${ip}:${state.portValue}`;
path = `/__down`;
}

Expand Down

0 comments on commit 5c8ebd5

Please sign in to comment.