Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add hostname check to decide http mode in windows #739

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

im-adithya
Copy link
Member

@im-adithya im-adithya commented Oct 16, 2024

Description

Unlike Linux and Darwin, Windows doesn't allow wails:// protocol without having NSIS installer. So wails uses http://wails.localhost in Windows. This leads to the HTTP backup endpoint being requested in Windows which results in 405 Method Not Allowed

@im-adithya im-adithya changed the title chore: protocol check fix: add hostname check to decide http mode in windows Oct 16, 2024
@bumi
Copy link
Contributor

bumi commented Oct 16, 2024

good debugging.
how is the HTTP endpoint being requested? what URL is exposed there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants