Skip to content

Commit

Permalink
Remove 'reg open' filter from 'Nearby Tournaments' URL (#424)
Browse files Browse the repository at this point in the history
this filter seems to be not entirely reliable. At time of commit, https://www.start.gg/tournament/40-kurobra40 is filtered out even though registration is still very much open (though most events are capped)
  • Loading branch information
jmlee337 authored Feb 26, 2024
1 parent a1bc231 commit 071751b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/pages/home/sidebar/tournament_links.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { ExternalLink } from "@/components/external_link";
import { ReactComponent as StartggLogo } from "@/styles/images/startgg_logo.svg";

const NEARBY_TOURNAMENTS_URL =
"https://start.gg/search/near_me?range%5BeffectiveRegistrationClosesAt%5D%5Bmin%5D=1&refinementList%5Bevents.videogame.id%5D=1&refinementList%5BhasOnlineEvents%5D=&refinementList%5Bstate%5D%5B0%5D=1&page=1&configure%5BhitsPerPage%5D=15&configure%5Bfilters%5D=profileType%3Atournament&configure%5BaroundLatLngViaIP%5D=true&configure%5BaroundRadius%5D=160934";
"https://start.gg/search/near_me?refinementList%5Bevents.videogame.id%5D=1&refinementList%5BhasOnlineEvents%5D=&refinementList%5Bstate%5D%5B0%5D=1&page=1&configure%5BhitsPerPage%5D=15&configure%5Bfilters%5D=profileType%3Atournament&configure%5BaroundLatLngViaIP%5D=true&configure%5BaroundRadius%5D=160934";

const ONLINE_TOURNAMENTS_URL =
"https://start.gg/search/tournaments?refinementList%5Bevents.videogame.id%5D=1&refinementList%5BhasOnlineEvents%5D%5B0%5D=true&page=1&configure%5BhitsPerPage%5D=15&configure%5Bfilters%5D=profileType%3Atournament&range%5BeffectiveRegistrationClosesAt%5D%5Bmin%5D=1";
Expand Down

0 comments on commit 071751b

Please sign in to comment.