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

Add Support For Cloudflare #622

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

Conversation

hoothin
Copy link

@hoothin hoothin commented Mar 26, 2024

Description:

This is just a minor fix, when users integrate their website's CDN with Cloudflare, Cloudflare hides the real IP address. As a result, the remoteAddress will always return Cloudflare's own IP address. This can cause Snapdrop to be unable to identify users in the same local network.

Benefits of this PR and context:

Enable users to obtain their real IP address while using Cloudflare, without affecting users who are not using Cloudflare.

How Has This Been Tested?

I have performed testing on my website s.hoothin.com.

@zhuanghaotao
Copy link

zhuanghaotao commented Mar 26, 2024 via email

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