Skip to content

Commit

Permalink
Set gateway query to enable only domain and ipv4 in gridProxy requests (
Browse files Browse the repository at this point in the history
#3851)

* chore(Nodes:Capacity[FilterNodes]): set only ipv4 and domain with true on gateway query removing ipv6

* chore(NodeFinder:Gateway): set ipv4 with true if the gateway option is enabled
  • Loading branch information
0oM4R authored Feb 5, 2025
1 parent 543e72d commit 1468272
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion packages/grid_client/src/primitives/nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,6 @@ class Nodes {

if (options.gateway) {
params["ipv4"] = true;
params["ipv6"] = true;
params["domain"] = true;
}
return convertObjectToQueryString(params);
Expand Down
1 change: 1 addition & 0 deletions packages/playground/src/views/nodes.vue
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,7 @@ export default {
totalCru: +filters.value.minCRU || undefined,
hasGpu: filters.value.gpu || undefined,
domain: filters.value.gateway || undefined,
ipv4: filters.value.gateway || undefined,
freeIps: +filters.value.publicIPs || undefined,
dedicated: filters.value.dedicated || undefined,
sortBy: SortBy.Status,
Expand Down

0 comments on commit 1468272

Please sign in to comment.