Skip to content

Is it possible to change the protocol wails://? #1747

Answered by aledbf
aledbf asked this question in Q&A
Discussion options

You must be logged in to vote

@stffabi thank you for the quick response.

I found an approach in Slack that works

Basically, start a local server to process the callback and reload the application

http.HandleFunc("/callback", func(w http.ResponseWriter, r *http.Request) {
		// check errors

		runtime.WindowReloadApp(ctx)
})

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by aledbf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants