Skip to content
Snippets Groups Projects
Commit 433bed28 authored by Marica Antonacci's avatar Marica Antonacci
Browse files

Merge branch 'fix_port_type' into 'main'

Fixed port type

See merge request !5
parents 2b6adbfc 5fee1c39
No related branches found
No related tags found
1 merge request!5Fixed port type
......@@ -392,9 +392,9 @@ def import_dep_info(file_path, endpoints_to_scan):
else:
host = url
if prefix == "https":
port = 443
port = '443'
elif prefix == 'http':
port = 80
port = '80'
else:
raise Exception(f"Impossible to parse the endpoint port. Endpoint: {endpoint}")
print(f"Endpoint: {host}:{port}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment