snapdrop icon indicating copy to clipboard operation
snapdrop copied to clipboard

Add Support For Cloudflare

Open hoothin opened this issue 1 year ago • 1 comments

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.

hoothin avatar Mar 26 '24 00:03 hoothin

这是来自ZHNG-Haotiu邮箱自动回复。  

zhuanghaotao avatar Mar 26 '24 00:03 zhuanghaotao