Skip to content

Fix host header to prevent redirect to 192.168.8.1#15

Open
nejtr0n wants to merge 1 commit intokenshaw:masterfrom
nejtr0n:fix_host_redirect
Open

Fix host header to prevent redirect to 192.168.8.1#15
nejtr0n wants to merge 1 commit intokenshaw:masterfrom
nejtr0n:fix_host_redirect

Conversation

@nejtr0n
Copy link

@nejtr0n nejtr0n commented Jan 16, 2019

If host header not set and modem have different url (not 192.168.8.1), api redirecting to it.
This code fix it (always set host header to 192.168.8.1)

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.

1 participant