mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-25 11:17:50 +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/',
|
|
},
|
|
}
|
|
}
|