Skip to content

Commit

Permalink
Order the ports the same way as they are in BlenderKit and on other p…
Browse files Browse the repository at this point in the history
…laces

- starts with port 62485 which is default and has highest chances to have running Client
  • Loading branch information
Andreas Gajdosik committed Dec 12, 2024
1 parent aa3ed9c commit 6cc3ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const bkclientjs = {
export default bkclientjs;

/** As defined in CLIENT_PORTS in https://github.com/BlenderKit/BlenderKit/blob/main/global_vars.py */
let CLIENT_PORTS = ["65425", "55428", "49452", "35452", "25152", "5152", "1234", "62485"];
let CLIENT_PORTS = ["62485", "65425", "55428", "49452", "35452", "25152", "5152", "1234"];
let pollingInterval: ReturnType<typeof setInterval> | undefined;
let connectedClients: ClientStatus[];

Expand Down

0 comments on commit 6cc3ac4

Please sign in to comment.