Changeset View
Changeset View
Standalone View
Standalone View
keyserver/src/responders/website-responders.js
Show First 20 Lines • Show All 390 Lines • ▼ Show 20 Lines | const initialReduxState = await promiseAll({ | ||||
lifecycleState: 'active', | lifecycleState: 'active', | ||||
enabledApps: defaultWebEnabledApps, | enabledApps: defaultWebEnabledApps, | ||||
reportStore: { | reportStore: { | ||||
enabledReports: defaultEnabledReports, | enabledReports: defaultEnabledReports, | ||||
queuedReports: [], | queuedReports: [], | ||||
}, | }, | ||||
nextLocalID: 0, | nextLocalID: 0, | ||||
cookie: undefined, | cookie: undefined, | ||||
deviceToken: undefined, | deviceToken: null, | ||||
dataLoaded: viewer.loggedIn, | dataLoaded: viewer.loggedIn, | ||||
windowActive: true, | windowActive: true, | ||||
userPolicies: {}, | userPolicies: {}, | ||||
primaryIdentityPublicKey: null, | primaryIdentityPublicKey: null, | ||||
pushApiPublicKey: pushApiPublicKeyPromise, | pushApiPublicKey: pushApiPublicKeyPromise, | ||||
_persist: null, | _persist: null, | ||||
}); | }); | ||||
const jsonStream = streamJSON(res, initialReduxState); | const jsonStream = streamJSON(res, initialReduxState); | ||||
Show All 13 Lines |