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

Commit e279d2c

Browse files
authored
Make the browser access the optioned port
While the `eel.start` supports using a different port other than 8000 by `option={"port":hoge}`, it was not accessed from the browser
1 parent 605fea5 commit e279d2c

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)