Changeset View
Changeset View
Standalone View
Standalone View
keyserver/src/responders/website-responders.js
Show First 20 Lines • Show All 421 Lines • ▼ Show 20 Lines | const initialReduxState = await promiseAll({ | ||||
windowActive: true, | windowActive: true, | ||||
userPolicies: {}, | userPolicies: {}, | ||||
cryptoStore: { | cryptoStore: { | ||||
primaryIdentityKeys: null, | primaryIdentityKeys: null, | ||||
notificationIdentityKeys: null, | notificationIdentityKeys: null, | ||||
}, | }, | ||||
pushApiPublicKey: pushApiPublicKeyPromise, | pushApiPublicKey: pushApiPublicKeyPromise, | ||||
_persist: null, | _persist: null, | ||||
commServicesAccessToken: null, | |||||
}); | }); | ||||
const jsonStream = streamJSON(res, initialReduxState); | const jsonStream = streamJSON(res, initialReduxState); | ||||
await waitForStream(jsonStream); | await waitForStream(jsonStream); | ||||
res.end(html` | res.end(html` | ||||
; | ; | ||||
var baseURL = "${baseURL}"; | var baseURL = "${baseURL}"; | ||||
var olmFilename = "${olmFilename}"; | var olmFilename = "${olmFilename}"; | ||||
Show All 10 Lines |