Changeset View
Changeset View
Standalone View
Standalone View
web/app.react.js
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Lines | registerConfig({ | ||||
// from a cookie invalidation | // from a cookie invalidation | ||||
resolveInvalidatedCookie: null, | resolveInvalidatedCookie: null, | ||||
// We use httponly cookies on web to protect against XSS attacks, so we have | // We use httponly cookies on web to protect against XSS attacks, so we have | ||||
// no access to the cookies from JavaScript | // no access to the cookies from JavaScript | ||||
setCookieOnRequest: false, | setCookieOnRequest: false, | ||||
setSessionIDOnRequest: true, | setSessionIDOnRequest: true, | ||||
// Never reset the calendar range | // Never reset the calendar range | ||||
calendarRangeInactivityLimit: null, | calendarRangeInactivityLimit: null, | ||||
platformDetails: { platform: 'web' }, | platformDetails: { platform: electron?.platform ?? 'web' }, | ||||
}); | }); | ||||
type BaseProps = { | type BaseProps = { | ||||
+location: { | +location: { | ||||
+pathname: string, | +pathname: string, | ||||
... | ... | ||||
}, | }, | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 259 Lines • Show Last 20 Lines |