wails icon indicating copy to clipboard operation
wails copied to clipboard

Possible to load remote url like http://127.0.0.1:80/index.html as gui

Open passerbyo opened this issue 3 years ago • 2 comments
trafficstars

Is your feature request related to a problem? Please describe.

no

Describe the solution you'd like

use gin or beego to serve index and wails to serve it

Describe alternatives you've considered

No response

Additional context

No response

passerbyo avatar Jul 19 '22 15:07 passerbyo

is there a demo?

passerbyo avatar Jul 19 '22 15:07 passerbyo

Thanks for opening this request.

The discussion here might help you and this Dynamic Assets.

If you want to use gin or another Go framework you could pass their http.Handler as an options.AssetsHandler while setting options.Assets to nil. Please keep in mind there are some limitations of the AssetsHandlers, especially on Linux.

stffabi avatar Jul 19 '22 15:07 stffabi

Unfortunately we haven't heard anything back, so I'll close this issue.

Please feel free to open a new issue if you have any problems with the AssetsHandler or have any further questions.

stffabi avatar Aug 05 '22 19:08 stffabi