mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-28 00:46:45 +01:00
17 lines
397 B
JavaScript
17 lines
397 B
JavaScript
export function decideResponse(featureFlags) {
|
|
return {
|
|
config: {
|
|
enable_collect_everything: true,
|
|
},
|
|
toolbarParams: {
|
|
toolbarVersion: 'toolbar',
|
|
},
|
|
isAuthenticated: true,
|
|
supportedCompression: ['gzip', 'gzip-js', 'lz64'],
|
|
featureFlags,
|
|
sessionRecording: {
|
|
endpoint: '/s/',
|
|
},
|
|
}
|
|
}
|