Skip to content
This repository was archived by the owner on Jun 22, 2025. It is now read-only.

Commit b397219

Browse files
Merge pull request #177 from secang0/option-port
Make the browser access the optioned port
2 parents 7deccfd + e279d2c commit b397219

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

eel/browsers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
def _build_url_from_dict(page, options):
1717
scheme = page.get('scheme', 'http')
1818
host = page.get('host', 'localhost')
19-
port = page.get('port', 8000)
19+
port = page.get('port', options["port"])
2020
path = page.get('path', '')
2121
return '%s://%s:%d/%s' % (scheme, host, port, path)
2222

0 commit comments

Comments
 (0)