python-eel / Eel

A little Python library for making simple Electron-like HTML/JS GUI apps
MIT License
6.29k stars 582 forks source link

eel.show not working when page is a port #664

Closed bryaan closed 1 year ago

bryaan commented 1 year ago

Eel version 0.15.3

Describe the bug eel.show() should also work when eel is started with the page being a port like so:

        directory = 'web'
        app = 'chrome'
        page = {'port': 9100}
        eel_kwargs = dict(
            host="localhost",
            port=9000,
            size=size
        )
        eel.start(page, mode=app, **eel_kwargs)

In addition it should be able to pass routes to the js engine for routing:

eel.show('index.html/my-special-route')

bryaan commented 1 year ago

sorry it is working as such:

eel.show({'port': 9100})