Skip to content

Commit

Permalink
fix: port
Browse files Browse the repository at this point in the history
  • Loading branch information
ircfspace committed Mar 7, 2024
1 parent d60843d commit ef3ae40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useIPScanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export const useIPScanner = ({ allIps }: IPScannerProps) => {
for (const ip of ipList) {
increaseTestNo();

let url = `http://${ip}:${state.portValue}`;
let url = `http://${ip}:${state.portValue < 80 ? 80 : state.portValue}`;
let path = `/cdn-cgi/trace`;
if ( isSSL ) {
url = `https://${ip}:${state.portValue}`;
Expand Down

0 comments on commit ef3ae40

Please sign in to comment.