+ return { ...state, apiToken: token };
+ },
+ CONFIG: ({ config }) => {
+ return {
+ ...state,
+ localCluster: config.uuidPrefix,
+ remoteHosts: { ...config.remoteHosts, [config.uuidPrefix]: new URL(config.rootUrl).host },
+ homeCluster: config.uuidPrefix
+ };