don't send country to cloud update - is not really needed

This commit is contained in:
SPRINX0\prochazka
2025-10-17 12:51:30 +02:00
parent 1b8470df38
commit bf995e5861

View File

@@ -199,8 +199,6 @@ async function updateCloudFiles(isRefresh) {
lastCloudFilesTags = '';
}
const ipInfo = await getPublicIpInfo();
const tags = (await collectCloudFilesSearchTags()).join(',');
let lastCheckedTm = 0;
if (tags == lastCloudFilesTags && cloudFiles.length > 0) {
@@ -212,7 +210,7 @@ async function updateCloudFiles(isRefresh) {
const resp = await axios.default.get(
`${DBGATE_CLOUD_URL}/public-cloud-updates?lastCheckedTm=${lastCheckedTm}&tags=${tags}&isRefresh=${
isRefresh ? 1 : 0
}&country=${ipInfo?.country || ''}`,
}`,
{
headers: {
...getLicenseHttpHeaders(),