Changeset View
Changeset View
Standalone View
Standalone View
keyserver/src/responders/website-responders.js
Show First 20 Lines • Show All 521 Lines • ▼ Show 20 Lines | cryptoStore: { | ||||
primaryIdentityKeys: null, | primaryIdentityKeys: null, | ||||
notificationIdentityKeys: null, | notificationIdentityKeys: null, | ||||
}, | }, | ||||
pushApiPublicKey: pushApiPublicKeyPromise, | pushApiPublicKey: pushApiPublicKeyPromise, | ||||
_persist: null, | _persist: null, | ||||
commServicesAccessToken: null, | commServicesAccessToken: null, | ||||
}); | }); | ||||
const validatedInitialReduxState = validateOutput( | const validatedInitialReduxState = validateOutput( | ||||
viewer, | viewer.platformDetails, | ||||
initialReduxStateValidator, | initialReduxStateValidator, | ||||
initialReduxState, | initialReduxState, | ||||
); | ); | ||||
const jsonStream = streamJSON(res, validatedInitialReduxState); | const jsonStream = streamJSON(res, validatedInitialReduxState); | ||||
await waitForStream(jsonStream); | await waitForStream(jsonStream); | ||||
res.end(html` | res.end(html` | ||||
; | ; | ||||
▲ Show 20 Lines • Show All 196 Lines • Show Last 20 Lines |