mirror of
https://github.com/PostHog/posthog.git
synced 2024-12-01 12:21:02 +01:00
daf1a0b7fa
* feat(toolbar): rename editor to toolbar, add toast on error * add missing types * be less noisy when expired token comes a previous page load Co-authored-by: Michael Matloka <dev@twixes.com>
18 lines
442 B
JavaScript
18 lines
442 B
JavaScript
export function decideResponse(featureFlags) {
|
|
return {
|
|
config: {
|
|
enable_collect_everything: true,
|
|
},
|
|
toolbarParams: {
|
|
toolbarVersion: 'toolbar',
|
|
jsURL: 'http://localhost:8234/',
|
|
},
|
|
isAuthenticated: true,
|
|
supportedCompression: ['gzip', 'gzip-js', 'lz64'],
|
|
featureFlags,
|
|
sessionRecording: {
|
|
endpoint: '/s/',
|
|
},
|
|
}
|
|
}
|