Skip to content

Commit

Permalink
use new config format for non-lockNetwork setups too
Browse files Browse the repository at this point in the history
  • Loading branch information
f0x52 committed Oct 8, 2024
1 parent 691f461 commit 2d80992
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -889,8 +889,10 @@ function getClientConfiguration(data: AuthPerformData): SharedConfiguration | Lo
};

if (!Config.values.lockNetwork) {
const defaultNetwork = Config.values.networks[Config.values.defaults.name];
const defaults: ConfigNetDefaults = {
..._.clone(Config.values.defaults),
..._.clone(defaultNetwork),
...defaultsOverride,
};
const result: SharedConfiguration = {
Expand Down

0 comments on commit 2d80992

Please sign in to comment.