Skip to content

Commit

Permalink
refactor: assign correct serverparks based on role, before sending to…
Browse files Browse the repository at this point in the history
… server
  • Loading branch information
kristian4res committed Nov 4, 2024
1 parent b72e261 commit 1b308a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ClientConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import role_to_serverparks_map_json from "./role-to-serverparks-map.json";
export function loadConfigFromEnv(): ClientConfig {
const roleToServerParksMap: { [key: string]: string[] } = role_to_serverparks_map_json;
return {
DefaultServerPark: "gusty",
DefaultServerPark: roleToServerParksMap["DEFAULT"][0],
RoleToServerParksMap: roleToServerParksMap
};
}

0 comments on commit 1b308a9

Please sign in to comment.