Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Algolia aroundLatLong 中,是否可以手动传递 ipaddress 并使“aroundLatLongViaIP”方法起作用?现在看来,它会根据请求 ipaddress 自动检测。
是的,您只需在基于地理的搜索查询中添加以下自定义 HTTP 标头X-Forwarded-For=> 。END_USER_IP
X-Forwarded-For
END_USER_IP