Skip to content

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