15088: Adds initial link account UI
[arvados-workbench2.git] / src / store / auth / auth-reducer.ts
index e7087b58a8c69984f607effae376c44270ab1394..0335752678c56421336751dfd79eaef11316db94 100644 (file)
@@ -37,7 +37,7 @@ export const authReducer = (services: ServiceRepository) => (state = initialStat
             return {
                 ...state,
                 localCluster: config.uuidPrefix,
-                remoteHosts: config.remoteHosts,
+                remoteHosts: { ...config.remoteHosts, [config.uuidPrefix]: new URL(config.rootUrl).host },
                 homeCluster: config.uuidPrefix
             };
         },