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

Allow HTTP nodes in Android app #670

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

bludnic
Copy link
Member

@bludnic bludnic commented Oct 22, 2024

  • Allow mixed content (HTTPS -> HTTP)
  • Created a whitelist of HTTP nodes to bypass cleartext restrictions
  • Write a script to synchronize network_security_config.xml with the nodes from the config

Copy link

vercel bot commented Oct 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
adamant-im ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 16, 2024 7:51am

Copy link

github-actions bot commented Oct 22, 2024

Deployed to https://msg-adamant-pr-670.surge.sh 🚀

@@ -112,7 +112,7 @@ export abstract class Node<C = unknown> {
this.hostname = new URL(url).hostname
this.minNodeVersion = minNodeVersion
this.version = version
this.hasSupportedProtocol = !(this.protocol === 'http:' && appProtocol === 'https:')
this.hasSupportedProtocol = true // @todo add option: Enable HTTP nodes
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It depends on whether it's Web app or Android app

@adamant-al
Copy link
Member

@bludnic
Update PR.
https://trello.com/c/Vyip8xDF

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