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() should allow for a path for routing #665

Open bryaan opened 1 year ago

bryaan commented 1 year ago

Is your feature request related to a problem? Please describe. eel.show({port: 9100}, path='/my-special-page')

This should work. This allows the js logic to specify the page to open in the new window that show() opens.

This should build the path: "http://localhost:9100/my-special-page"

Note I am using a js framework that does its own routing and uses a single index.html page for the entire app.